how to activate python environment 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: how to activate the pytho virtual environment
mypthon\Scripts\activate
Example 3: activate environment python
$ which python
/usr/bin/python
Example 4: how to workon virtual environment in linux
# If any of the other dont work try
<env name>\bin\activate