Problems using nose in a virtualenv

后端 未结 8 1973
-上瘾入骨i
-上瘾入骨i 2020-12-24 04:57

I am unable to use nose (nosetests) in a virtualenv project - it can\'t seem to find the packages installed in the virtualenv environment.

The odd thing is that i ca

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-24 06:02

    In the same situation I needed to reload the virtualenv for the path to be correctly updated:

    deactivate
    env/bin/activate
    

提交回复
热议问题