4 ms·
Py is not installed when you get it from windows store. Another gotcha to worry about. The story about python on windows is a nightmare for new people for thes
by pletnes 3y ago
Py is not installed when you get it from windows store. Another gotcha to worry about.
The story about python on windows is a nightmare for new people for these reasons. And installing packages - while not as bad anymore - is a mixed bag due to fewer precompiled C extensions than on linux.
Paradoxically, microsoft have spent some effort on improving things. This has led to multiple incompatible choices which, effectively, has made the experience worse.
- ptx 3y agoSure. Add "Get the actual official Python from python.org, not whatever mess Microsoft has cooked up" as step 0. If you do use Microsoft's Python distribution though, are you saying that it provides neither "python3" nor "py"? How do you use it then? According to the docs[0] the Microsoft Store package should provide "python" and "python3" commands (effectively unsolving the problem solved by the Python launcher, I guess?) so either my original suggestion of "python3" or my subsequent suggestion of "py -3" should work, depending on which distribution was installed. [0] https://docs.python.org/3.11/using/windows.html#the-microsoft-store-package https://docs.python.org/3.11/using/windows.html#the-microsof...