how to upgrade virtualenv windows 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: venv upgrade python
python3 -m venv --upgrade ENV_DIR
# windows
python -m venv <venv-name>
# To activate
#C:\Users\..\<venv-name>
.\Scripts\activate.bat
python3 -m venv --upgrade ENV_DIR