|||
在安装pip的过程中,从https://pypi.python.org/pypi/pip下载pip-7.1.2.tar.gz,解压后python setup.py install进行安装,出现报错信息:
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
google发现http://stackoverflow.com/questions/11425106/python-pip-install-fails-invalid-command-egg-info提示setuptools缺乏,于是从https://pypi.python.org/pypi/setuptools下载setuptools,解压好python setup.py install安装,成功后再安装pip,提示成功后运行pip,得到如下信息
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-28 10:50
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社