Skip to content

Virtual Environments

Creating the Virtual Environment

Windows Powershell

py -m venv venv\\

Linux/MacOS

python3 -m venv venv/

Activating the Virtual Environment

Windows Powershell

venv\\Scripts\\activate

Linux/MacOS

source venv/bin/activate

Deactivating the Virtual Environment

Windows Powershell

deactivate

Linux/MacOS

deactivate

The following pages link to this page:

Comments

Buy Me A Coffee
Thank you for your support!