首先要安装 Setuptools
wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
sh setuptools-0.6c11-py2.7.egg
也可以直接运行 yum install python-setuptools
安装PIP
wget https://pypi.python.org/packages/source/p/pip/pip-1.0.2.tar.gz
tar zxf pip-1.0.2.tar.gz
cd pip-1.0.2
python setup.py install
========== update 2017-07-27=========
yum install python-setuptools && easy_install pip