Basic Python Virtual Environment Commands

These commands are run at the terminal prompt.

Creating Virtual Environments

python -m venv <NAME> --prompt="<PROMPT>"

Activating a Virtual Environment

<NAME>\Scripts\activate

Installing Packages

python -m pip install <package-name>

De-activating a Virtual Environment

<NAME>\Scripts\deactivate