Wednesday, 15 April 2015

python - PyCharm test gives: "ImportError: No module named nosetests" -



python - PyCharm test gives: "ImportError: No module named nosetests" -

the versions pycharm 2.7, nosetests-script.py version 1.2.1, , python 2.6.8, via python(x,y)-2.7.3.0. , win7.

i can nosetest command line fine. when build nosetests pycharm configuration, , seek run or debug it, this:

c:\python27\python.exe "c:\program files (x86)\jetbrains\pycharm 2.7\helpers\pycharm\noserunner.py" nosetests testing started @ 4:59 pm ... error traceback (most recent phone call last): file "c:\python27\lib\unittest\case.py", line 327, in run testmethod() file "c:\python27\lib\site-packages\nose\loader.py", line 379, in loadtestsfromname module = resolve_name(addr.module) file "c:\python27\lib\site-packages\nose\util.py", line 321, in resolve_name module = __import__('.'.join(parts_copy)) importerror: no module named nosetests

oh, , couple versions ago worked, briefly, stopped working. have thought how working?

i've filed bug study py-8840 in pycharm's issue tracker. please vote in issue tracker in order notifications.

python pycharm nosetests

No comments:

Post a Comment