我在安装使用PIP模块的麻烦,例如误差一般在Ubuntu与PIP安装模块15.10
sudo -H pip3 install kivy
返回该错误
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-b3rwh_e6/kivy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-bev6v2mx-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-b3rwh_e6/kivy/
我是相当新的Python和编程等等我可能做错了,可能值得一提的是我安装了python2.7和python3.5,安装包python3.5-dev
和build-essential
没有修复它。
编辑:生成日志: https://drive.google.com/file/d/0B5e3GD1lfCbUZ19LU3RENzY4MU0/view?usp=sharing
发布完整版本的日志。 – inclement
您是否阅读过构建日志?它清楚地表明,有几个包丢失了。你有没有尝试安装它们? – MattDMo