我用一個簡單的buildout.cfg文件運行zc.buildout:爲什麼zc.buildout找不到pyconfig.h?
[buildout]
parts = python
[python]
recipe = zc.recipe.egg
interpreter = python
我越來越於CentOS和Ubuntu此錯誤消息:
# bin/buildout
Installing python.
Getting distribution for 'python'.
error: Setup script exited with error: pyconfig.h: No such file or directory
An error occurred when trying to install Python 2.5. Look above this message for any errors that were output by easy_install.
While:
Installing python.
Getting distribution for 'python'.
Error: Couldn't install: Python 2.5
Python開發包肯定是安裝。 pyconfig.h在我的Ubuntu系統上位於/usr/include/python2.7。我需要配置不同的構建嗎?
你爲什麼試圖構建https://pypi.python.org/pypi/Python發行版?這就是你的構建想要做的。 – 2012-03-22 21:22:34