Fresh Ubuntu 18.04 install. Following these instructions here are the commands I've run so far.
sudo apt update
sudo apt upgrade
python3 -V
sudo apt install python3-pip
sudo apt install build-essential libssl-dev libffi-dev python3-dev
sudo apt install python3-venv
source /usr/local/bin/virtualenvwrapper.sh
Returns
bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory.
find virtualenvwrapper.sh
Returns
find: ‘virtualenvwrapper.sh’: No such file or directory
EDIT:
Sudo -H pip3 install virtualenv virtualenvwrapper
didn't solve the issue either.
I found this solution that sovled the issue.
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
then make sure to install virtualenv and virtualenvwrapper with:
sudo /usr/local/bin/pip3 install virtualenv virtualenvwrapper
You may have to use sudo's -H flag like I did for it to work.