Yesterday I've been trying to install Python 3.8.5. I got the installer from the python website. My problem is that whenever I run python --version
in the command line, it keeps saying, like in the image above, Python 2.7.17.
Today I also installed the Microsoft store package, and it's the same.
But running py
apparently gives me the correct version 3.8.5. Does this mean that every python program I'll write will use the current version? That's what I currently want to make sure of.
As a side note also, I uninstalled all other python versions except 3.8.5 that I saw in my settings>Apps list. So, that adds to my confusion why running python --version
would still show 2.7.17.
Maybe not as relevant, but I also have WSL2 enabled on my machine, I would like to install python to both. At the moment I'm focusing on the Windows10 part, but if there's a solution that will help both, that'll be awesome.
Thanks in advance!
[update]: adding python3 --version
screenshot
[update]: yet another confusing part for me:
py -V против python -V
- должен ли я просто позволить этому быть?
- Это что-то, что мне нужно исправить, прежде чем двигаться вперед?
- мои python программы будет запускаться в версии
3.8.5
, а не 2.7.17
?