Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

Error Running Cloud Function

In the demo on working with Cloud ML APIs, I’m getting an error while trying to run my Cloud Function. 

From the logs:

from grpc import aio

Import Error: cannot import name ‘aio’ from ‘grpc’ (/layers/google.python.pip/pip/lib/python3.7/site-packages/grpc/init.py)

Any ideas?

1 Answers

Woop, fixed it by adding a line in the requirements file:

grpcio>=1.29.0

Thanks Stack Overflow

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?