Pip错误导入

2024-04-23 21:11:37 发布

您现在位置:Python中文网/ 问答频道 /正文

当我在终端上运行pip时,我收到以下错误消息。在

Traceback (most recent call last):    
File "/usr/local/bin/pip", line 8, in <module>
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2220, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'pip') not found

我知道这个问题以前在堆栈溢出中已经被提出过,但是没有一个线程能够确切地解决我应该做什么。在


Tags: pipinextraslinelibraryscriptsloadframework