Python & OS Support¶
pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4 and also pypy.
pip works on Unix/Linux, OS X, and Windows.
Python 2.5 was supported through v1.3.1, and Python 2.4 was supported through v1.1.
pip included with Python¶
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default , so you may have pip already.
Then run the following (which may require administrator access):
To upgrade an existing setuptools, run
pip install -U setuptools.
Install from local copies of pip and setuptools:
python get-pip.py --no-index --find-links=/local/copies
Install to the user site :
python get-pip.py --user
Install behind a proxy:
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
Using OS Package Managers¶
On Linux, pip will generally be available for the system install of python using the system package manager, although often the latest version will be unavailable.
On Debian and Ubuntu:
sudo apt-get install python-pip
sudo yum install python-pip
|||"Secure" in this context means using a modern browser or a tool like curl that verifies SSL certificates when downloading from https URLs.|
|||Beginning with pip v1.5.1, |
|||The pip developers are considering making |