Python
virtual environments
install virtualenv
pip install virtualenv
create new virtual environment
virtualenv -p `which python` path_to_new_virtual_environment
- the
-p
option allows you to specify a python version explicitly - the
path_to_new_virtual_environment
is where the environment will be made
using a virtual environment
source path_to_new_virtual_environment/bin/activate
exiting a virtual environment
deactivate