-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when I try to run example code: from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name 'cygrpc' #1540
Comments
the problem was with the grcp library not with google cloud, in case anyone stumbles on the same mistake, run python -m pip install grcpio --ignore-installed |
"python -m pip install grcpio --ignore-installed" , is grpcio not grcpio; |
you can use "python -m pip install grcpio --ignore-installed" |
is this "python -m pip install grpcio --ignore-installed" useful ? It seems invalid to me, I met the same error, and don't know how to solve it. |
|
Specifying version as |
Did you find a way to solve this? |
this doesn't work for python 3.9 due to incompatibility issue:
Is there a way to solve this? |
|
If you are still facing the same issue with AWS Lambda layer and using mac for building the package locally. |
@roshanlabh Can you provide a link with some detail on how to use linux (ubuntu) to build your google-cloud-* package? Thanks!
|
In which file did you encounter the issue?
I used the code in the tutorial on my local machine
https://codelabs.developers.google.com/codelabs/cloud-vision-api-python/index.html?index=..%2F..%2Findex#5
Did you change the file? If so, how?
No
Describe the issue
When running the example code locally, I get the error mentioned in the title:
from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name 'cygrpc'
The text was updated successfully, but these errors were encountered: