0

そのため、Mountain Lion Developer Preview 2 に更新したところ、突然、私の Python 開発環境がほとんど機能しなくなりました。新しい virtualenv を作成しようとすると、次のようになります。

jcroft@MacBook-Pro:~/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

手がかりはありますか?前もって感謝します!

4

1 に答える 1

0

に必ず追加する必要があり/usr/local/share/pythonますPATH。そうしないと、Apple によってインストールされた easy_install を使用しようとします。

詳細はこちら: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python

于 2012-04-23T14:56:02.350 に答える