Pip thrift和impyla未在Linux上安装

2024-10-01 04:53:38 发布

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

我试图让pip(3.6)在centos6上安装包thrift sasl、thrift py和impyla,但我一直收到这个错误。在

Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;file='/tmp/pip-build-rv4_laqv/thriftpy/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-hogvggj3-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-rv4_laqv/thriftpy/

我试过的东西

  • 更新pip
  • 安装/更新setuptools
  • yum安装gcc-c++python-devel.x86_64 cyrus-sasl-devel.x86_64

有什么建议或见解吗?在


Tags: pippybuildcodeopenrecordthriftsetuptools