安装pip的前提是已经安装了setuptools工具,首先用
# wget https://pypi.python.org/packages/6f/10/5398a054e63ce97921913052fde13ebf332a3a4104c50c4d7be9c465930e/setuptools-26.1.1.zip#md5=f81d3cc109b57b715d46d971737336db
下载setuptools-26.1.1.zip到本地,解压,运行安装
# unzip setuptools-26.1.1.zip # cd pip-1.5.4 # python setup.py install
然后下载pip-1.5.4.tar.gz
# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb"
解压安装pip
# tar -xzvf pip-1.5.4.tar.gz # cd pip-1.5.4 # python setup.py install