【发布时间】:2012-03-23 21:02:28
【问题描述】:
我正在使用一个简单的 buildout.cfg 文件运行 zc.buildout:
[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 中。我需要以不同的方式配置构建吗?
【问题讨论】:
-
你为什么要构建pypi.python.org/pypi/Python 发行版?这就是您的构建正在尝试做的事情。
标签: python django zope buildout