python update env version code example
Example 1: venv upgrade python
python3 -m venv --upgrade ENV_DIR
Example 2: virtual env in python
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
python3 -m venv --upgrade ENV_DIR
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate