creating virtual environ ment on windows in python code example
Example 1: create venv in windows
# windows
python -m venv <venv-name>
# To activate
#C:\Users\..\<venv-name>
.\Scripts\activate.bat
Example 2: how to activate virtual environment in python windows 10
name_of_env\Scripts\activate