在 virtualenv [3.4] 中工作时,当我遇到错误时,我试图运行 tox 来运行测试:
py34 develop-inst-nodeps: /home/horcrux/dir-sub/dir
py34 runtests: commands[0] | python -m nose2 -v
/home/horcrux/dir-sub/dir/.tox/py34/bin/python: No module named nose2
ERROR: InvocationError: '/home/horcrux/dir-sub/dir/.tox/py34/bin/python -m nose2 -v'
_____________________________ summary ______________________________________
ERROR: py34: commands failed
我已经尝试使用 pip install nose2 安装nose2,但问题仍然存在。