我試圖在Virtualenv中安裝Fabric,但出現錯誤。我是usinh Python 2.7.2+可以在Virtualenv中安裝Fabric(Python)嗎?獲取錯誤
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /home/andre/python_virtualenv/bin/python -c "import setuptools;__file__='/home/andre/python_virtualenv/build/pycrypto/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-YGuAIj-record/install-record.txt --install-headers /home/andre/python_virtualenv/include/site/python2.7 failed with error code 1
Storing complete log in /home/andre/.pip/pip.log
這裏有什麼問題的一些線索?
最好的問候,
@ e-satis非常感謝你爲這個偉大的加法! – vorushin 2012-01-06 14:26:02
你在我做之前就回答了它,所以沒有用的做一個重複的:-) – 2012-01-06 16:28:43