xbinbzy的个人博客分享 http://blog.sciencenet.cn/u/xbinbzy

博文

python中pip在安装过程中遇到的问题

已有 17805 次阅读 2016-1-12 23:20 |个人分类:python|系统分类:科研笔记| Python, pip

   在安装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,得到如下信息



https://blog.sciencenet.cn/blog-306699-950004.html

上一篇:机器学习的文章介绍
下一篇:awk一些操作的收集
收藏 IP: 119.139.136.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-28 10:50

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部