morearly.blogg.se

Turn off windows store
Turn off windows store





turn off windows store

So if you installed Python after a new Windows 10 install then get redirected to the Windows Store it's because there are two python.exe's, the alias in the App Execution Alias page, and the real one wherever you installed Python but cmd finds the App execution alias python.exe first because that directory is at the top of the Path.

turn off windows store turn off windows store

When you enter "python" in cmd, it searches the directories listed in your "Path" environment variables page from top to bottom. Then Microsoft put that directory at the top of the list in the "Path" environment variables. When turned on, Windows puts a empty or fake file named python.exe and python3.exe in the directory named %USERPROFILE%\AppData\Local\Microsoft\WindowsApps. I think we have this problem when installing python because in a new Windows installation the aliases are in the ON position as in image below. There should be two aliases for python, unselect them, this will allow the usual python aliases "python" and "python3". Use the Windows search bar to find "Manage app execution aliases".







Turn off windows store