【发布时间】:2014-07-10 17:38:45
【问题描述】:
我尝试使用 virtualenv pip pip install pycrypto。
当我使用sudo 时,安装成功,但不是在虚拟环境中,这对我没有帮助。
sudo apt-get install python-dev 解决方案也没有帮助。而且使用easy_install 和yum 也没有帮助。
这是我在尝试安装时遇到的错误的底线:
Command /home/ubuntu/conceep-env/bin/python -c "import setuptools,tokenize;__file__='/home/ubuntu/conceep-env/build/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/tmp/pip-NaKMgy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/conceep-env/include/site/python2.7 failed with error code 1 in /home/ubuntu/conceep-env/build/pycrypto
Storing debug log for failure in /var/tmp/tmp3k2sTZ
【问题讨论】:
-
您找到解决方案了吗?
标签: python ubuntu pip virtualenv pycrypto