From:http://www.linuxde.net/2014/05/15576.html
CentOS 6.4 Installation Pip,centos Install Python package Manage installation tool Pip method
- 2014/05/12
- CentOS, Pip, Python
- Operation and maintenance management experience and tools
- 2
- 70,955
Before some friends asked me,CentOS version How to install Python pip, I gave before the Ubuntu Apt-get method
Ubuntu needs to install the PIP bar First,
Apt-get Install Python-pip
Install requests,
PIP Install requests
But some friends because of CentOS, direct yum install pip or yum install Python-pip are not.
In fact, it is not yum to download the compiled installation directly ...
The CentOS 6.4 installation Pip,centos installs the Python Package Management installation tool Pip method as follows:
As of the time of writing this article, Pip is the newest 1.5.5
wget--no-check-certificate https://github.com/pypa/pip/archive/1.5.5. tar.gz
Note: When wget gets HTTPS, add:--no-check-certificate
Tar zvxf 1.5.5.tar.gz #解压文件cd pip-1.5.5/python setup.py install
OK, so you have the PIP installed,
Let's install requests below.
PIP Install requests
Go: CentOS 6.4 Install Pip,centos Install Python package Manage installation tool Pip method