2
我試圖按照learnpythonthehardway教程中的說明啓動nosetests。ImportError:未找到入口點('console_scripts','nosetests')
我試圖運行nosetests形成PowerShell和得到如下:
PS E:\python\projects\skeleton>nosetests
Traceback (most recent call last):
File "C:\Python27\Scripts\nosetests-script.py", line 9, in <module>
load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')()
File "C:\Python27\lib\site-packages\distribute-0.6.45-py2.7.egg\pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\distribute-0.6.45-py2.7.egg\pkg_resources.py", line 2353, in load_entry_point
raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'nosetests') not found
它是否從普通命令行(cmd)工作? – alecxe
它產生了相同的錯誤。 – Tomato