I'm trying to get virtualenv working:
With all the mess around the installation I don't know if I have it setup correctly? Why doesn't my virtualenv seem to be isolated as a virtual environment?
asked 31 Jan '14, 13:19
The difference in pip is pip-2.7 ? version 1.4 and pip2.7 ? version 1.5.
Because of the global sitecustomize.py on file at /usr/local/pythonX.Y/sitecustomize.py, the packages inside of your $HOME/lib/pythonX.Y directory are added to your python path, even inside of a virtualenv.
In some cases this is what you want and is convenient. Other times, you do not want a particular virtualenv to use your home-installed packages. If that's the case, then create an empty sitecustomize.py file inside of the virtualenv itself, which will act to override the global one and prevent the home-installed packages from being added to your path:
answered 31 Jan '14, 13:44