1.安装setuptools
# yum install python-setuptools -y
2.下载并安装pip
# wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-1.4.tar.gz#md5=ca790be30004937987767eac42cfa44a
# tar -zxf pip-1.4.tar.gz
# cd pip-1.4
# python setup.py install
问题:
执行pip list出现以下错误:
执行pip install --upgrade setuptools解决了
参考资料: