I installed a while ago the Python version 3.9 - and more recently the 3.10 - only to realize that my computer continued to use Python 3.7.9 all this time.
The problem is that I'm trying to install some packages that are not compatible with 3.7.9 anymore, but I'm not able to update the version that Windows is using.
I tried moving the 3.10 version to the top of my PATH environment variables. I tried removing the 3.7 version completely from PATH. Nothing works. I am still getting 3.7.9 with the "python --version" command.
Interestingly, this is what I get with the "where python" command:
C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\<username>\AppData\Local\Programs\Python\Python310\python.exe
C:\Users\<username>\AppData\Local\Programs\Python\Python39\python.exe
Any idea how to resolve this? Thank you in advance for your help.