I have downloaded and installed Python 3.11 via 64 bit exe installer, but when I run python -v
its showing that Python version 3.10 is installed:
After the installation was complete, there was no message about restarting my system in order for the latest version to be installed.
How can I ensure that Python 3.11 is installed on my machine?
I’ve tried to access the dir C:Program FilesWindowsApps
to have a look, but Windows says I don’t have permission despite that I am logged in as admin and Read & Execute permissions in ‘Advanced Security Settings for WindowsApps’ (I have posted another question about that on Super User)
10
The Python version which shows when running python -v
is the one that’s in the PATH first. If you are trying to ensure that it’s installed, simply navigate to your PATH directory and look for it, most likely [email protected]
or similar. If you are trying to switch your default interpreter, see this post.
Maybe you just need run CMD as Admin then command python -v again. It worked for me.
Zaria is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.