Problems using nose in a virtualenv

Are you able to run myenv/bin/python /usr/bin/nosetests? That should run Nose using the virtual environment's library set.


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

deactivate
env/bin/activate

You need to have a copy of nose installed in the virtual environment. In order to force installation of nose into the virtualenv, even though it is already installed in the global site-packages, run pip install with the -I flag:

(env1)$ pip install nose -I

From then on you can just run nosetests as usual.