私は、単純なbuildout.cfgファイルとzc.buildout実行しています:Pythonの開発パッケージを確実にインストールされているなぜzc.buildoutはpyconfig.hを見つけることができませんか?
# 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
:私はCentOSのとUbuntuでこのエラーメッセージが出てい
[buildout]
parts = python
[python]
recipe = zc.recipe.egg
interpreter = python
。 pyconfig.hは私のUbuntuシステムの/usr/include/python2.7にあります。ビルドアウトを別に設定する必要はありますか?
なぜhttps://pypi.python.org/pypi/Pythonディストリビューションをビルドしようとしていますか?それはあなたのビルドアウトがしようとしているものです。 –