我試圖讓virtualenv在我的機器上工作。我使用python2.6的,並安裝點子,並使用PIP後安裝的virtualenv,運行「的virtualenv --no-站點包cyclesg」結果如下:創建一個新的virtualenv會導致錯誤
New python executable in cyclesg/bin/python
Installing setuptools....
Complete output from command /home/nubela/Workspace/cyclesg...ython -c "#!python
\"\"\"Bootstrap setuptoo...
" /usr/lib/python2.6/site-packag...6.egg:
error: invalid Python installation: unable to open /home/nubela/Workspace/cyclesg_dep/cyclesg/include/multiarch-i386-linux/python2.6/pyconfig.h (No such file or directory)
----------------------------------------
...Installing setuptools...done.
New python executable in cyclesg/bin/python
Installing setuptools....
Complete output from command /home/nubela/Workspace/cyclesg...ython -c "#!python
\"\"\"Bootstrap setuptoo...
" /usr/lib/python2.6/site-packag...6.egg:
error: invalid Python installation: unable to open /home/nubela/Workspace/cyclesg_dep/cyclesg/include/multiarch-i386-linux/python2.6/pyconfig.h (No such file or directory)
----------------------------------------
...Installing setuptools...done.
任何想法如何,我可以補救這個?謝謝!
是的我在Mandriva!有沒有解決方法?我在2009.1上,解決方法是針對python2.5和2009.0。 – nubela 2009-12-21 20:28:09
https://qa.mandriva.com/show_bug.cgi?id=42808#c7中的包裝腳本解決方法可以。只是不要調用腳本virtualenv,但像venv修復。 – Tobu 2009-12-21 20:32:50