6

Mac に Enthought Python ディストリビューション バージョン 7.0 をインストールし、次に easy_installed pip をインストールしてから、pip install virtualenv を実行しました。仮想環境を作成しようとすると、次のようになります。

> virtualenv test
New python executable in test/bin/python
ERROR: The executable test/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Library/Frameworks/EPD64.framework/Versions/7.0' (should be '/Users/anand/test')
ERROR: virtualenv is not compatible with this system or executable`

また、test/bin には activate スクリプトが含まれていません。virtualenv を機能させるにはどうすればよいですか?

助けてくれてありがとう!

4

1 に答える 1

6

この質問は、EPD 開発者のメーリング リストで議論されました。とりわけ、EPD は virtualenv を念頭に置いてまとめられておらず、時々バグがあることが言及されました。ただし、誰かが今自分で試している要約されたソリューションへのリンクを投稿しました: https://gist.github.com/845545

HTH、マイケル

于 2011-03-28T13:17:39.070 に答える