Where is virtualenvwrapper.sh?
From /usr/share/doc/virtualenvwrapper/README.Debian
:
In contrast to the information in /usr/share/doc/virtualenvwrapper/en/html/index.html this package installs virtualenvwrapper.sh as /etc/bash_completion.d/virtualenvwrapper. Virtualenvwrapper is enabled if you install the package bash-completion and enable bash completion support in /etc/bash.bashrc or your ~/.bashrc. If you only want to use virtualenvwrapper you may just add source /etc/bash_completion.d/virtualenvwrapper to your ~/.bashrc.
Yes, it's a bit hard to find :D
On Ubuntu
The script's location is:
/usr/share/virtualenvwrapper/virtualenvwrapper.sh
So if you've installed virtualenvwrapper with the package manager, you must add the following lines into your ~/.bashrc:
export WORKON_HOME=~/.virtualenvs
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
Also, remember to reload your ~/.bashrc with:
$ source ~/.bashrc
If everything worked well, then you'll be able to run mkvirtualenv like:
mkvirtualenv --python="/usr/bin/python3" venv_name