Python Venv Cheatsheet

install venv:

pip install virtualenv

create a venv:

virtualenv my_project

or inclue a certain python binary:

virtualenv -p /usr/bin/python2.7 my_project

use venv:

source my_project/bin/activate

exit venv:

deactivate