开发者

How can I get virtualenv to produce Python executables with the correct sys.path using the Enthought Python Distribution?

I installed the Enthought Python Distribution version 7.0 on a Mac, then easy_installed pip, then did pip install virtualenv. When I try to create a virtual environment, I get:

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

and test/bin does not contain any activate script. How can I get virtualenv working?

Thanks for any help!


This question was discussed on the EPD developers mailing list. Among others it was mentioned that EPD was not put together with virtualenv in mind and that it has it's bugs sometimes. However, somebody posted a link to a summarized solution which I'm trying out myself now: https://gist.github.com/845545

HTH, Michael

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜