Skip to content

grpc python installed with virtualenv, code complains no google.protobuf found on Mac OS X #71

Open
@awakenrz

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions