• raise RuntimeError("autoconf error") RuntimeError: autoconf error


    pip 安装模块时遇到下错误,没有粘贴全,差不多都是这样。这个情况是 pip 安装模块 需要 gcc 及 python-devle 支持, ubuntu 是 python-dev ,使用Yum 安装即可。

    raise RuntimeError("autoconf error") RuntimeError: autoconf error

    ImportError: Entry point ('console_scripts', 'pip2') not found 

    1         Traceback (most recent call last):
    2           File "/usr/bin/pip2", line 9, in <module>
    3             load_entry_point('pip==8.1.1', 'console_scripts', 'pip2')()
    4           File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    5             return get_distribution(dist).load_entry_point(group, name)
    6           File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2568, in load_entry_point
    7             raise ImportError("Entry point %r not found" % ((group, name),))
    8         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

  • 相关阅读:
    平面划分问题
    First Missing Positive
    Redis.conf
    Redis内存存储结构分析
    IE9崩溃解决办法
    未能正确加载包"visla Studio HTM Editor Package"(GUID={1B437B20F8FE11D2A5AE00104BCC7269})
    SQL SERVER 数据类型详解
    创建TIff虚拟打印机
    VS2010出现错误the operation could not be completed
    C# 基础知识 20101118
  • 原文地址:https://www.cnblogs.com/zimufeng/p/5434343.html
Copyright © 2020-2023  润新知