玩蛇网提供最新Python编程技术信息以及Python资源下载!

pyton nosetests 报错:pkg_resources.DistributionNotFound: nose=

Python新手,运行nosetests出现下列信息,该如何解决?

Traceback (most recent call last):
File "/usr/bin/nosetests", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/python27/lib/python2.7/site-packages/pkg_resources.py", line 2872, in <module>
working_set = WorkingSet._build_master()
File "/usr/local/python27/lib/python2.7/site-packages/pkg_resources.py", line 451, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/python27/lib/python2.7/site-packages/pkg_resources.py", line 464, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/python27/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: nose==0.10.4

玩蛇网文章,转载请注明出处和文章网址:https://www.iplaypy.com/wenda/python-traceback-nosetests-pkg.html

相关文章 Recommend

玩蛇网Python互助QQ群,欢迎加入-->: 106381465 玩蛇网Python新手群
修订日期:2019年10月30日 - 20时34分09秒 发布自玩蛇网

您现在的位置: 玩蛇网首页 > Python问题解答 > 正文内容
我要分享到:

必知PYTHON教程 Must Know PYTHON Tutorials

必知PYTHON模块 Must Know PYTHON Modules