To install virtualenv via pip $ pip3 install virtualenv
Note that virtualenv installs to the python3 directory. For me it's: $ /usr/local/share/python3/virtualenv 1. Create a virtualenvs directory to store all virtual environments $ mkdir ~/.virtualenvs/<project-name> 2. Make a new virtual environment with no packages $ virtualenv ~/.virtualenvs/<project-name> --no-site-packages 3. To use the virtual environment $ cd somewhere/virtualenvs/<project-name>/bin $ source activate OR $ source ~/.virtualenvs/unswco_test/bin/activate 4. You are now using the virtual environment for <project-name>. To stop: $ source deactivate