* download python 3.10.11 from: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
run the downloads file to install python 3.10.11, remember the python install path(in my case: C:\Users\pzs\AppData\Local\Programs\Python\Python310) and check the option: Add path for pathon when installation
* enter command window, type command to verify the specific python:
```
C:\Users\pzs\AppData\Local\Programs\Python\Python310\python --version
```
* install python virtual environment:
```
C:\Users\pzs\AppData\Local\Programs\Python\Python310\Scripts\pip3 install virtualenv
# the was installed in : C:\Users\pzs\AppData\Local\Programs\Python\Python310\Scripts, upgrade pip
C:\Users\pzs\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip
```
* create virtual environment py310 in root directory(this will create a directory py310 in current directory):
```
cd\
C:\Users\pzs\AppData\Local\Programs\Python\Python310\Scripts\virtualenv py310
```
* activate the virtual environment(python 3.10)
```
c:\py310\Scripts\activate
```
* from here, you are running in python 3.10 environment, this is independent from other python versions
```
pip install tensorflow
pip install ....
```
* deactivate the virtual environment
```
deactivate
```