This appeals to me, but are there good reasons for avoiding installing packages to site-packages?
This appeals to me, but are there good reasons for avoiding installing packages to site-packages?
There's a (pardon the language, but I don't know a better term) shitfight between OS packages and Python packages for control of the global site packages. Each will override the other.
My current setup, which works very well: use pip and virtualenv for everything, leave the global site packages alone.
Everything you need to run Ubuntu this way can be achieved by:
apt-get install python-dev python-pip python-virtualenv virtualenvwrapper
Then mkvirtualenv, workon, and pip to your hearts content.
It's also very useful for managing different versions of packages - e.g. I can upgrade to the latest Django for one project without risking breaking all of the others.
Having said that, I install the stuff that I consider to be "core" globally - for me that's primarily numpy, but also a handful of others.