关于这意味着什么?我不知道这是否有帮助,但似乎我试图安装的大部分内容都没有正确安装而且我收到了错误。
BenjaminsMacBook:~ OwlFace$ pip install pygtk
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: pip==1.4.1
BenjaminsMacBook:~ OwlFace$
答案 0 :(得分:0)
pygtk安装脚本找不到pip 1.4.1 你必须安装pip 1.4.1
答案 1 :(得分:0)
您可以查看我的回答here。基本上,要修复它,请运行:
easy_install --upgrade pip
答案 2 :(得分:-1)
pip required version = 1.4.1
的依赖关系,
$ which pip
/usr/local/bin/pip
如果这里没有输出可能你没有安装pip
$ pip --version
pip 1.4.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
如果您的版本不是1.4.1,请更新pip
您的错误显示已安装了pip,因此请检查版本
BenjaminsMacBook:~ OwlFace$ pip install pygtk
Traceback (most recent call last):
===> File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
对于pip1.4.1,请访问:https://pypi.python.org/pypi/pip/