Skip to content

Python Virtual environment

In order to create a virtual environment, you need to have python installed on your system. Once you have python installed, you can create a virtual environment using the following command.

Terminal window
python3 -m venv venv
# this will create a folder called venv
Terminal window
source venv/bin/activate
Terminal window
deactivate