raise RuntimeError("autoconf error") RuntimeError: autoconf error
2016-04-26 11:22
555 查看
pip 安装模块时遇到下错误,没有粘贴全,差不多都是这样。这个情况是 pip 安装模块 需要 gcc 及 python-devle 支持, ubuntu 是 python-dev ,使用Yum 安装即可。
raise RuntimeError("autoconf error") RuntimeError: autoconf error
ImportError: Entry point ('console_scripts', 'pip2') not found
错误解决参考:
yum remove python-pip
easy_install pip
更新:
pip 安装遇到 RuntimeError: maximum recursion depth exceeded ......
解决方法:
pip install setuptools 或 pip install --upgrade setuptools (如果需要)一般可以解决,如有些包依然报递归错误,还有招:
pip install Distribute 或 pip install --upgrade Distribute (如果需要)。还不成功的没遇到过了,自行研究吧。0.0
解释:Distribute is a deprecated fork of the Setuptools project
raise RuntimeError("autoconf error") RuntimeError: autoconf error
ImportError: Entry point ('console_scripts', 'pip2') not found
Traceback (most recent call last): File "/usr/bin/pip2", line 9, in <module> load_entry_point('pip==8.1.1', 'console_scripts', 'pip2')() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2568, in load_entry_point raise ImportError("Entry point %r not found" % ((group, name),)) ImportError: Entry point ('console_scripts', 'pip2') not found
错误解决参考:
yum remove python-pip
easy_install pip
问题:AttributeError: 'EntryPoint' object has no attribute 'resolve'
解决:yum -y install python-setuptools 如果依然不行,把出现此错误的模块重新安装下试试,更新:
pip 安装遇到 RuntimeError: maximum recursion depth exceeded ......
解决方法:
pip install setuptools 或 pip install --upgrade setuptools (如果需要)一般可以解决,如有些包依然报递归错误,还有招:
pip install Distribute 或 pip install --upgrade Distribute (如果需要)。还不成功的没遇到过了,自行研究吧。0.0
解释:Distribute is a deprecated fork of the Setuptools project
相关文章推荐
- MailMessage+SmtpClient 发送邮件
- DAY6:leetcode #11 Container With Most Water
- linker command failed with exit code 1 (use -v to see invocation)错误调试
- cpu_relax( )-----对自选循环等待(spin-wait loops)操作的优化【转】
- mac os 终端提示 you have new mail
- 人工智能对战游戏程序会怎样?奥创大战贾维斯吗!
- UVA 818 Cutting Chains
- postmain 导致浏览器两次请求
- LintCode: Paint House II
- (整理)IIS 7 503 "service unavailable" errors
- AD的一些信息
- paintEvent调用时机
- LogCat里的错误提示 FATAL EXCEPTION: main
- LintCode:Paint House
- HDU 2476 String painter 区间dp
- 概率图模型
- bnu 51641 Certain Maze(bfs)(北师16校赛)
- caption标签,为表格添加标题和摘要 summary a mail
- bnu 51638 Air Hockey(三分+二分)(北师16校赛)
- hdu1302The Snail