Wiki - Virtualenv

Posted by Shujin Wu on June 15, 2016

Installation

[sudo] pip install virtualenv

Usage

mkdir virtual_env               # create a directory to place different envs
virtualenv virtual_env/myenv1   # create one env
source virtual_env/myenv1/bin/activate.fish # activate the env under fish shell
deactivate

Reference:

Virtualenv Tutorial User Guide