-
Notifications
You must be signed in to change notification settings - Fork 36
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
grpc python installed with virtualenv, code complains no google.protobuf found on Mac OS X #71
Comments
@tbetbetbe Is brew-install supposed to check for and pull in dependencies? If so, should proto3 have a brew-thing? |
I've also encountered this issue. brew install grpc/grpc/google-protobuf ./autogen.sh Google Mock not present. Fetching gmock-1.7.0 from the web... READ THIS: https://git.io/brew-troubleshooting These open issues may also help: |
I just encountered the same problem you described, @eonezhang. The problem with the
This got me past the error above. However, since I'm messing with the contents of the If you are willing to |
hmm. I installed my grpc with
$ brew tap grpc
$ brew install grpc/grpc
Then I tried to install grpc python with
$ sudo pip install virtualenv
$ virtualenv venv
$ source venv/bin/activate
$ curl -fsSL https://goo.gl/getgrpc | bash -s python
No error happened, but when I try to import google.protobuf in my python code, it complains google.protobuf cannot be found.
I'm able to
from grpc.beta import implementations
But the following line gives an error:
from google.protobuf import descriptor as _descriptor
ImportError: No module named google.protobuf
The text was updated successfully, but these errors were encountered: