6

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!

asked Feb 18, 2011 at 17:35
1
  • I would be interested in knowing the answer to this too! Commented Mar 22, 2011 at 11:47

1 Answer 1

6

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

answered Mar 28, 2011 at 13:17
Sign up to request clarification or add additional context in comments.

1 Comment

Note, that the newest rendition of Enthought, called Canopy, seems to actively use virtualenv inside.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.