2013-06-25 3 views
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
+0

일반 명령 줄 (cmd)에서 작동합니까? – alecxe

+0

동일한 오류가 발생했습니다. – Tomato

답변

0

나는이 말하지만이 문제에 실행 다른 사람을 위해 그런 nosetests를 다시 설치

sudo pip uninstall nosetests 
pip uninstall nosetests 

를 실행하려고 알고 정기적으로. 그래도 작동하지 않는다면 nosetests의 다른 인스턴스를 찾기 위해 랩톱을 검색해보고 랩톱을 제거하십시오. 그래도 문제가 해결되지 않으면 휴지통을 비우십시오. T