Closed denis-trofimov closed 7 years ago
Adding
install_requires=['pathlib', 'h2', 'async-timeout>=1.3.0', 'multidict'],
does not solve it. I install manually.
Sorry for this confusion, but grpclib
supports only Python >= 3.5
(intentionally) and only asyncio
(currently), documented this in the README as much as I can. You can use grpcio
library from Google if you have to develop with Python 2.7 support.
We are in our company using grpcio
from the client-side (legacy project on Python 2.7), and going to use grpclib
on the server-side (new services on Python >= 3.5).
@vmagamedov is it comment for #4 ?
What it have to do with the missing pathlib
? Have you tested on the Python 3.5 clean install?
pathlib
module is from the standard library since Python 3.4: https://docs.python.org/3/library/pathlib.html
From the traceback I can see that pathlib
is used in the setup.py script of the async-timeout
library, and async-timeout
is also PY3-only library.
Please try to install grpclib
with Python 3.5 or higher, everything should be just fine. More information about installation you can find in the README.
Thank you for cooperation.
Broken in python 2.7 virtualenv.
(py27) denis@ra:~/p$ python Python 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] on linux2