GeezerVison is showing github.com — ERROR from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name cygrpc · Issue #2237 · GoogleCloudPlatform/python-docs-samples
ERROR from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name cygrpc #2237
Description
from grpc._cython import cygrpc as _cygrpc
ImportError: cannot import name cygrpc
This problem happens when I run the build tests
Activity
xiaoyangnihao commented on Jun 25, 2019
Does anyone can help me solve this problem ? thanks a lot
nnegrey commented on Jun 25, 2019
Which sample are you trying to run?
xiaoyangnihao commented on Jun 28, 2019
Which sample are you trying to run?
I try to compile the tenserflow serving with bazel, the "bazel build -c opt tensorflow_serving/..." run succussfully, but when I run the "bazel test -c opt tensorflow_serving/...", 'tensorflow_model_server_beta_grpc_test.py' and 'tensorflow_model_server_test.py' tests failed. the test log shows that from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name cygrpc.
I try to unistall the grpcio and install again, but still failed
nnegrey commented on Jun 28, 2019
iugov commented on May 16, 2020
Specifying version as grpcio==1.27.2 resolved my issue
Reacted by Jan Nikolaus Wirth
Metadata
Metadata
Development
No branches or pull requestsIssue actions