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 distribute解决了
时间: 2024-10-12 20:32:29