Good day!
Installed the Python 3.9.1, checked "Add to path", the cmd did not work though. Added Environment Variable Path, both folder
C:\Users\XXXXX\AppData\Local\Programs\Python\Python39
(file manager opens the path to python.exe just fine) and script lines:
C:\Users\XXXXX\AppData\Local\Programs\Python\Python39
Still the commands python -version and pip --version do not work from the command line.
Py --version works just fine though.
Anyone might share and idea what might be the reason?
If you had Python installed in the system before, the new path is added at the end of
PATHsystem variable and when system looks forpython.exeit finds first the old version that is available under a different folder.If you used a command window opened before the new version got installed, it is also possible that system variables did not reload. Close it and use a new one to check.