仅使用以下方法导入鼻子时出现以下错误import nose
:
Traceback (most recent call last):
File "<pyshell#13>", line 1, in <module>
import nose
File "C:\Python32\Lib\site-packages\nose-master\nose\__init__.py", line 1, in <module>
from nose.core import collector, main, run, run_exit, runmodule
File "C:\Python32\Lib\site-packages\nose-master\nose\core.py", line 143
print "%s version %s" % (os.path.basename(sys.argv[0]), __version__)
我是 python 新手。
我添加了使用路径sys.path.append("C:\\Python32\\Lib\\site-packages\\nose-master")