virtualenv

virtualenv

TLDR

Create a new environment

$ virtualenv [path/to/venv]
copy

Customize the prompt prefix

$ virtualenv --prompt=[prompt_prefix] [path/to/venv]
copy

Use a different version of Python with virtualenv

$ virtualenv --python=[path/to/pythonbin] [path/to/venv]
copy

Start (select) the environment

$ source [path/to/venv]/bin/activate
copy

Stop the environment

$ deactivate
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies