I installed python2 and virtualenvwrapper on my ubuntu machine in order to run a very old set of scripts I've saved for an obscure task.
I run the following:
sudo apt-get install python2
cd ~/path/to/my/project
pip install virtualenvwrapper
source ~/.virtualenvs/ccs/bin/activate
Unfortunately, this gives me something like bash: ~/.virtualenvs/ccs/bin/activate: No such file or directory
I also try
source env/bin/activate
and again get a No such file or directory message.
Is there a different place where this script is installed on Ubuntu?
(I also tried apt-get install virtualenvwrapper with similar results.)
according to this post, it can be found in
/etc/bash_completion.d/virtualenvwrapperyou can add this to your
~/.bashrcby doing:after restarting your terminal (important!)
you can just call: