linux activate venv code example
Example 1: creating virtual environment python
python3 -m venv tutorial-env
#name : tutorial-env
tutorial-env\Scripts\activate #activate env
deactivate #deactivate env
Example 2: activate venv linux
env/bin/activate
Example 3: how to activate the pytho virtual environment
mypthon\Scripts\activate
Example 4: how to activate virtual environment using ubuntu
source my-project-env/bin/activate