安装gx_freeze时出现问题

时间:2017-04-02 08:01:04

标签: python ubuntu cx-freeze

我有使用Python 2.7.6的Ubuntu 14.04 LTS,我想安装cx_Freeze。我用了命令:

pip install cx_Freeze

我得到了错误:

fatal error: Python.h: No such file or directory compilation terminated.

所以我做了:

sudo apt-get install python-dev 

但现在我得到了:

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools,  tokenize;__file__='/tmp/pip_build_emanuele/cx-Freeze/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Hd6_EY-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_emanuele/cx-Freeze
Storing debug log for failure in /home/emanuele/.pip/pip.log

这个错误是什么意思,我该如何解决?

0 个答案:

没有答案
相关问题