I have an RPi3B+ which I can connect to through either Putty or VNC, both work fine. I've installed virtualenv with
pip install virtualenv virtualenvwrapper.
When I'm connected through Putty and I issue the command
workon <envname> I can enter the virtual environment without issue, but when I do the same having opened up a terminal in VNC, I get
bash: workon: command not found.
pip install virtualenv virtualenvwrapper on VNC, and it's definitely there, but still get
command not found.
Also, python modules that I've imported while connected by VNC aren't available when connected by Putty.
Why the difference? Aren't they just two different ways to access the same machine?