Command “/usr/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-cus9V0-build/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-Ebvaxk-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-cus9V0-build/

解决:
ubuntu

apt-get install python-dev

centos

yum install python-devel

应该是运行python-lzop时,缺少 python-dev依赖

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐