gpt4 book ai didi

python - ImportError : Entry point ('console_scripts' , 'easy_install' ) 未找到

转载 作者:太空狗 更新时间:2023-10-30 01:08:21 29 4
gpt4 key购买 nike

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

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版本或者安装冲突?

最佳答案

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

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

然后重新安装...

关于python - ImportError : Entry point ('console_scripts' , 'easy_install' ) 未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22871218/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com