0
所以我剛剛更新到Mountain Lion Developer Preview 2,突然間我的python開發環境非常出色。當試圖創建一個新的virtualenv,我得到以下內容:與Mountain Lion開發人員預覽版2上的virtualenv相關的問題
[email protected]:~/Development/Python/_VirtualEnvs$ virtualenv test
New python executable in test/bin/python
ERROR: The executable test/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/System/Library/Frameworks/Python.framework/Versions/2.7' (should be u'/Users/jcroft/Development/Python/_VirtualEnvs/test')
ERROR: virtualenv is not compatible with this system or executable
任何線索?提前致謝!
如果不是被包括在山獅的人,那麼你很可能需要再次重建Python包你以前的Python版本是不同的。你有沒有嘗試重新安裝virtualenv? – jdi 2012-03-20 05:56:13
是的,我刪除了我的virtualenvs並通過自制軟件重新安裝了python,然後做了一個sudo pip安裝virtualenv – 2012-03-20 05:58:52