问题描述:
在cmd窗口中用pip安装web.py的时候,出现了如下异常:
>>pip install web.py
Traceback (most recent call last):
File \”/usr/bin/easy_install\”, line 5, in
from pkg_resources import load_entry_point
File \”/usr/bin/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py\”, line 2713, in
parse_requirements(__requires__), Environment()
File \”/usr/bin/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py\”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute==0.6.15
…
解决方法:
以管理员身份运行cmd,重新输入pip install web.py
下一篇:python中复数