python virtualenv

Shell
$ pip install virtualenv
python -m venv my_envpython3 -m pip install --user virtualenv
python3 -m venv /path/to/new/virtual/environment
source env/bin/activate
$ virtualenv -p /usr/bin/python2.7 venv

Source

Also in Shell: