当前位置: 首页 > 工具软件 > ThriftPy > 使用案例 >

Linux 安装 thriftpy 出现错误

艾志尚
2023-12-01

Running setup.py install for thriftpy ... error

ERROR: Command errored out with exit status 1:
     command: /root/anaconda3/envs/py370/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m9gfdll7/thriftpy_a7b6445ed9fc4e2e84f1c00a5119c7d2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m9gfdll7/thriftpy_a7b6445ed9fc4e2e84f1c00a5119c7d2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-3o6ar277/install-record.txt --single-version-externally-managed --compile --install-headers /root/anaconda3/envs/py370/include/python3.7m/thriftpy
         cwd: /tmp/pip-install-m9gfdll7/thriftpy_a7b6445ed9fc4e2e84f1c00a5119c7d2/
 

 

解决:

cython版本>=0.27.3 

 类似资料: