Is it this, which people seem to recommend most often:
$ sudo apt-get install python-setuptools
$ sudo easy_install pip
$ sudo pip install virtualenv
Or this, which I got from http://www.pip-installer.org/en/latest/installing.html:
$ curl -O https://github.com/pypa/virtualenv/raw/master/virtualenv.py
$ python virtualenv.py my_new_env
$ . my_new_env/bin/activate
(my_new_env)$ pip install ...
Or something entirely different?
Do this:
See
On Debian the best way to do it would be
sudo apt-get install python-pip
On Ubuntu 12.04 I've had good luck just using the package manager:
This answer comes from @webology on Twitter:
My added notes:
Since virtualenvs contain pip by default, I almost never install pip globally. What I do ends up looking more like:
I then proceed to install and set up virtualenvwrapper to my liking and off I go. it might also be worthwhile to take a look at Jeremy Avnet's virtualenv-burrito:
https://github.com/brainsik/virtualenv-burrito
https://github.com/pypa/pip/raw/master/contrib/get-pip.py is probably the right way now.