- Install virtualenv and virtualenvwrapper
python3.7 -m pip install virtualenv virtualenvwrapper
- Add the following files to
~/.bashrc
or~/.bash_profile
to setup the virtualenv and projects directory. Change the path to python3.7 if in a different path.export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3.7 export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/projects