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.
Create a virtual environment¶
python3 -m venv venv
# this will create a folder called venv
Activate virtual environment¶
source venv/bin/activate
Deactivate virtual environment¶
deactivate