pip activate env code example
Example 1: how to activate virtual environment in python
# for windows 10
py -m venv myvirtualenv
myvirtualenv\Scripts\activate #!!!! use "\" not "/" !!!!!
Example 2: activate venv
source env/bin/activate
# for windows 10
py -m venv myvirtualenv
myvirtualenv\Scripts\activate #!!!! use "\" not "/" !!!!!
source env/bin/activate