Reputation: 10812
I built a small app in python and everything was running smoothly. Afterwards, I decided to upgrade python to 2.7.5 with homebrew. When I went back to start a new project, I was no longer able to create the virtual environment. This is the ERROR I'm getting:
virtualenv --no-site-packages club_envNew python executable in club_env/bin/python
ERROR: The executable club_env/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/System/Library/Frameworks/Python.framework/Versions/2.7' (should be u'/Users/myusername/Code/python/club/club_env')
ERROR: virtualenv is not compatible with this system or executable
Could someone please explain
Upvotes: 0
Views: 975
Reputation: 2855
You need to reinstall `virtualenv
in the new Python 2.7.5
default environment and then you will be able to create new virtual environments again.
Upvotes: 1
Reputation: 28405
I notice that you don't mention which python you upgraded from but my best guess of your problem:
Upvotes: 1