【问题标题】:ImportError: Entry point ('console_scripts', 'easy_install') not foundImportError:找不到入口点('console_scripts'、'easy_install')
【发布时间】:2014-05-17 06:20:20
【问题描述】:

我正在尝试安装一个软件包,其中一个说明如下,但我收到错误消息。

easy_install -U distribute pip
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 9, in <module>
    load_entry_point('distribute', 'console_scripts', 'easy_install')()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 2362, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'easy_install') not found
make: *** [install] Error 1

看了其他类似的问题,我还没有找到解决方案,但似乎是一些 Python 版本或安装冲突?

【问题讨论】:

    标签: python shell python-2.7 easy-install


    【解决方案1】:

    问题可能是多个安装版本,源于通过 aptitude 和 pip/easy_install 安装。这对我有帮助:

    pip uninstall <package>
    sudo pip uninstall <package>
    sudo aptitude remove <package>
    

    然后重新安装它...

    【讨论】:

      【解决方案2】:

      所以我也遇到了这个错误,我想我会添加这个以防万一其他人偶然发现这个问题。我尝试使用 sudo 卸载 pip 而没有,它仍然无法正常工作。我查看了路径,看起来 pip 正在从我的垃圾箱访问我清除了我的垃圾箱,我的 pip 开始工作没有任何问题。我还检查了通过 finder 搜索我的笔记本电脑,以确保我删除了我的 pip 的所有实例,除了我的项目文件夹。它

      【讨论】:

        猜你喜欢
        • 2012-10-03
        • 1970-01-01
        • 2017-01-09
        • 2013-10-25
        • 1970-01-01
        • 1970-01-01
        • 2015-06-13
        • 2020-06-02
        • 2015-05-13
        相关资源
        最近更新 更多