2 ms·
The redirection is done by a low-priority PATH. Both the Store install and the "standard" install (both of which are built/maintained/managed by Python.org, fwi
by WorldMaker 7y ago
The redirection is done by a low-priority PATH. Both the Store install and the "standard" install (both of which are built/maintained/managed by Python.org, fwiw) should install at a higher priority PATH. PATH bugs are just hard to entirely avoid, but PATH management is relatively easy.
(One big for instance is that System PATH and User PATH are concatenated and that the combined PATH when it exceeds a certain character limit sometimes causes subtle bugs like this one. People unfamiliar with Windows-specific PATH issues might not realize that issue.)
- tssva 7y agoThis is not 100% accurate. The "standard" install will place the installation directory higher in the PATH priority. The store version doesn't modify the path. Instead it creates app execution aliases for the executables it installs. As of version 3.8.2 it creates the following app execution aliases: idle.exe, idle3.8.exe, idle3.exe, pip.exe, pip3.8.exe, pip.exe, python.exe, python3.8.exe, python3.exe, pythonw.exe, pythonw3.8.exe, and pythonw3.exe. These can be found in the %LOCALAPPDATA%\Microsoft\WindowsApps directory. Prior to installation the python.exe and python3.exe app execution aliases in this directory will launch the Microsoft Store. After installation of the "store" python they will actually launch python.