Install PIP on CentOS 7

Python is widely used programing language and pip is the tool need to install different python packages.

Before you go ahead check if you have pip installed by using command below.
$ pip --version pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)

You can install pip in multiple ways on CentOS. I will discuss here two ways to install pip. 

Install PIP using yup

Update the packages first, just to be updated.
$ yum -y update
Once update is complete, you can run below command to install the pip. 

$ yum -y install python-pip
If you get error, did not found anything to install python-pip then you need to enable Extra Packages for Enterprise Linux (EPEL) repository, as python-pip is part of EPEL repo. If you don't want to enable EPEL repo then you can use other installation method.

Install PIP using curl

First step is to download the python script to install pip. 
$ curl "" -o ""
Once the script is downloaded you can run below command to install pip.
$ python
If you get permission error or write error run above command using sudo


Popular posts from this blog

Error : login failed on rabbitmq web-management console

MSMQ error : "A workgroup installation computer does not support the operation."

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin