Grpc: gRPC installed, but missing gevent.socket?

Created on 10 Nov 2015  路  3Comments  路  Source: grpc/grpc

On Debian Jessie:

$ python
Python 2.7.9 (default, Mar  1 2015, 12:57:24) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import grpc
Import grpc:No module named gevent.socket
>>> 

Note that the import still seems to work, but I get some warning-ish text to stdout.

If I run sudo apt-get install python-gevent, everything seems fine:

$ python
Python 2.7.9 (default, Mar  1 2015, 12:57:24) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import grpc
>>> 
arepackaging & distribution lanPython

Most helpful comment

grpc does not depend on gevent.socket. the grpc python package is grpcio
Are you sure you don't have the other grpc installed ?

All 3 comments

grpc does not depend on gevent.socket. the grpc python package is grpcio
Are you sure you don't have the other grpc installed ?

I'm going to go with "you're probably right" and resolve this.

pip install grpcio

Was this page helpful?
0 / 5 - 0 ratings