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.prefix 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!
-
I would be interested in knowing the answer to this too!astrofrog– astrofrog2011年03月22日 11:47:11 +00:00Commented Mar 22, 2011 at 11:47
1 Answer 1
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