Posted 04 March 2021 - 09:14 PM
I like the elegance of the Microsoft Store solution.
But just to give some background on why the problem occurred:
A default installation of Python, Java, and other languages via MSI installer from the official websites does not necessarily tell Windows where the main Python, etc executables are located.
When you install it, you have to pay careful attention to the options the installer offers you. Make sure to add Python, etc to the PATH variable. Sometimes the installer directly offers that option. Sometimes it does not tell you directly.
The PATH variable tells the Windows command prompt where Python is located (Im oversimplifying, but I think you get my point).
If you forget to add Python to the PATH during installation, you can add it later. For Windows Vista and higher, one way to do that is to type env into the Windows search bar, select Edit System Environment Variables. Find the PATH variable, select Edit, and add C:\Python\bin, or whatever the path to the main Python executable is located.
I have been doing it this way for a long time, so I take it for granted that this is the way things are done.
Now that I have explained it, it sounds like a real pain in the neck.
So, by all means, install it from the Microsoft Store.
But keep in mind that every installation method has its Pros and Cons.
The version from the Microsoft Store may or may not be exactly the same as the official version. This may or may not be a problem, depending on your needs.
If you have a problem later with the Microsoft Store in general, your Python installation may be affected later (but the same could be said of problems with Windows in general, or Linux in general).
Microsoft MCE, CASP+, Linux+, Server+, Cloud+, Certified Forensic Computer Examiner