我无法安装库 grpcio
I can't install the library grpcio
当我安装 dialogflow a grpcio 时,它在 运行...
时崩溃
我使用的是什么版本的 gRPC 和什么语言?
我正在安装一个版本:
- grpcio==1.30.0
- python==3.6.9
输出错误:
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hpq5jtn0/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-48xyxihh-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hpq5jtn0/grpcio/
我想出了解决办法。问题出在设置工具上。将其降级到 49.6.0 并尝试安装它会起作用。
pip install setuptools==49.6.0
当我安装 dialogflow a grpcio 时,它在 运行...
时崩溃我使用的是什么版本的 gRPC 和什么语言?
我正在安装一个版本:
- grpcio==1.30.0
- python==3.6.9
输出错误:
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hpq5jtn0/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-48xyxihh-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-hpq5jtn0/grpcio/
我想出了解决办法。问题出在设置工具上。将其降级到 49.6.0 并尝试安装它会起作用。
pip install setuptools==49.6.0