Python

Published on 2019-11-12 by Mohd

virtual environments

install virtualenv

pip install virtualenv

create new virtual environment

virtualenv -p `which python` path_to_new_virtual_environment

using a virtual environment

source path_to_new_virtual_environment/bin/activate

exiting a virtual environment

deactivate