jenkins nose error

I run nosetests, and it works. But when I try this in a Virtual Env - I get the following error message

ERROR: Failure: ModuleNotFoundError (No module named 'nosetests')

The nose module is installed !!

Why ?

It appears that bash is caching where it thinks nose is running from.

hash command

The what command ?

To remove all cached commands

hash -r

To remove just 1 command

 hash -r <command>