How to Install Python Pip

1 minute read

Python pip is a great package manager for python which helps in installing and managing python packages which can be found on PyPI

Note: Python 2.7.9 and later and Python 3.4 and later include pip by default so you do not have to install it.

If you have a new machine you probably want to update your distribution packages.

Install using

This method works on all Operating Systems..

curl "" -o "" && python

Install pip on Ubuntu

sudo apt-get update && sudo apt-get upgrade
sudo apt-get -y install python-pip

Install pip on CentOS

Lets install pip using yum.

rpm -iUvh
yum -y update
yum -y install python-pip

Install pip on Mac (OS X)

pip is available on OS X via easy_install

sudo easy_install pip

In case you do not have python on your mac, you can use brew to install and pip will come bundled with it.

Install brew

ruby -e "$(curl -fsSL"

Install python

brew install python

Install pip on Windows

The best method to install pip on windows is via which is mentioned above.

Verify Installation

pip --version

You should see something like this. pip 8.1.2 from /Library/Python/2.7/site-packages (python 2.7)

Incase these steps do not work for you, do mention them in the comments below or tweet me on twitter and I would be eager to help you.