What is the official “preferred” way to install pip and virtualenv systemwide?
问题 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? 回答1: If you can install the latest Python (2.7.9 and up) Pip is now