creating virtual environment python windows code example
Example 1: create a venv
python -m venv venv
venv\Scripts\activate.bat
Example 2: how to activate a venv in windows
\env\Scripts\activate.bat
Example 3: activate virtualenv windows
venv\Scripts\activate
Example 4: python venv
python3 -m venv /path/to/new/virtual/environment
Example 5: setting p a virtual envioronment
...\> py -m venv project_name
...\> project_name\Scripts\activate.bat
...\> py -m pip install Django
Example 6: python venv create
python3 -m venv /path/to/new/virtual/environment