Install Python pip package management system in Ubuntu

Posted on January 31, 2017 in tutorial, python, pip • 1 min read

pip is the replacement for the easy_install python package management tool.

If you're running Python 2.7.9+ or Python 3.4+ pip is already installed in the bundle.

If you are below Python 2.7.9 then these are the steps you need to follow to install PIP.

For Ubuntu

$ sudo apt-get update
$ sudo apt-get -y install python-pip

But, even if you are running python 3.4+ version, and pip is not available in the sytem, you can install by:

$ sudo apt-get install python3-pip

For Mac OS

$ sudo easy_install pip


$ brew install python

For Windows

You can install pip via installer.

Download, pip-1.1.win32.exe and run setup.

Verify the pip setup

Check version of the pip via from command line.

pip -V

pip usage

$ sudo pip install some-package-name

Users can also easily remove the package:

$ sudo pip uninstall some-package-name

pip has a feature to manage full lists of packages and corresponding version numbers, possible through a "requirements" file. And is mainly used for virtual enviromnent

$ pip install -r requirements.txt