我无法安装库grpcio

2024-10-02 14:28:23 发布

您现在位置:Python中文网/ 问答频道 /正文

当我安装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/

Tags: installpipbuild版本codeopenrecordtmp