mapr / maprdb-python-client

Other
5 stars 8 forks source link

maprdb-python-client install fails with grpcio error #72

Closed awezmapr closed 2 years ago

awezmapr commented 2 years ago

With Python 2.7.5, a new version of grpcio is not getting installed. For me, grpcio==1.20 works

# pip install maprdb-python-client Using cached grpcio-1.41.1.tar.gz (21.2 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-52aVS2/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-52aVS2/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-XMRqMP cwd: /tmp/pip-install-52aVS2/grpcio/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-52aVS2/grpcio/setup.py", line 256, in <module> if check_linker_need_libatomic(): File "/tmp/pip-install-52aVS2/grpcio/setup.py", line 206, in check_linker_need_libatomic stderr=PIPE) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory