'python' command opens Microsoft Store; Newbie python installation issue on Win 10 1903; Solved
Posted: Wed Aug 21, 2019 3:52 pm
I installed Python 3.7.4 from Python website, and was attempting to verify that I had all of the steps right:
When I tested command prompt 'python', it would redirect me to Microsoft Store download page for their version of Python.
I recently started working with RoboClaw and python coincidentally at the same time as Windows 10 pushed this years 1903 update series on me.
Three times I had tired to install python according to the online tutorials and documentation, only to fail each time (for about a week)..
As luck would have it, Windows 10 had update restarts that interleaved perfectly between my attempts. (Three times!)
Each time I had actually had it installed right, Windows 1903 update would change it back! (break it), so when I tried testing it, it was still not working right.
Window users path has to be modified to use any python other than Windows (unstable) version.
[EDIT: alternatively, Windows settings for app execution aliases can be toggled off, see discussion and links]
I found the following discussion addressing this precisely, and outlining fixes:
https://superuser.com/questions/1437590 ... osoft-stor
I subsequently found this step-by-step to help me though the process:
https://projects.raspberrypi.org/en/pro ... -windows/5
This article details how to modify the 'Path' entries, but it omits the part about deleting or moving to the bottom of the WindowApps entry, as mentioned in the first article above.
this line is responsible for redirecting your command to the Microsoft Store (AFAIK).
Browse the first article I linked above, for comments about deleting or moving to bottom of the WindowsApp line in 'Path'.
Apparently, windows, in it's infinite wisdom, decided that in 1903, it would redirect command prompt calls for several programs, including 'python', to it's Microsoft Store version download page...
(Regardless if you already have it installed.)
Read the directions carefully, it is 'user' environment path, and not system environment path, etc.
There are 'move up' and 'move down' buttons in the path edit mode (at least on mine), so you can just move the WindowsApps (store) entry to the bottom, instead of deleting it, so it will only go there if you DON"T have python installed right yet.
This article comments that it is new users are the most likely to have trouble navigating this problem:
I LOST THE TAB!...
Also, the Windows store version is known to have issues, and it EVEN states something to that effect, on the very page it directs you to when you try to use 'python':
Microsoft Store Python download page has this note:
"NOTE: We are still evaluating the Microsoft Store release of Python, and not all
features are guaranteed stable. See <>docs.python.org/3.7/using/windows.html
for more information.".
To further aggravate me, I could NOT find my appdata folder!
Took me 2 hrs to find out I had not forgotten how to locate it - Windows 1903 had ALSO reset my search settings, and re-hid system folders!
I have always had folders set to 'show hidden' or is it now called 'show system' files...
(and on the fifth day startup in the morning, all update restarts had been done), it decided to reset and also lock, my toolbar preferences!!!)
I am unsure what I will find I can't do, next...
Mr K L
When I tested command prompt 'python', it would redirect me to Microsoft Store download page for their version of Python.
I recently started working with RoboClaw and python coincidentally at the same time as Windows 10 pushed this years 1903 update series on me.
Three times I had tired to install python according to the online tutorials and documentation, only to fail each time (for about a week)..
As luck would have it, Windows 10 had update restarts that interleaved perfectly between my attempts. (Three times!)
Each time I had actually had it installed right, Windows 1903 update would change it back! (break it), so when I tried testing it, it was still not working right.
Window users path has to be modified to use any python other than Windows (unstable) version.
[EDIT: alternatively, Windows settings for app execution aliases can be toggled off, see discussion and links]
I found the following discussion addressing this precisely, and outlining fixes:
https://superuser.com/questions/1437590 ... osoft-stor
I subsequently found this step-by-step to help me though the process:
https://projects.raspberrypi.org/en/pro ... -windows/5
This article details how to modify the 'Path' entries, but it omits the part about deleting or moving to the bottom of the WindowApps entry, as mentioned in the first article above.
this line is responsible for redirecting your command to the Microsoft Store (AFAIK).
Browse the first article I linked above, for comments about deleting or moving to bottom of the WindowsApp line in 'Path'.
Apparently, windows, in it's infinite wisdom, decided that in 1903, it would redirect command prompt calls for several programs, including 'python', to it's Microsoft Store version download page...
(Regardless if you already have it installed.)
Read the directions carefully, it is 'user' environment path, and not system environment path, etc.
There are 'move up' and 'move down' buttons in the path edit mode (at least on mine), so you can just move the WindowsApps (store) entry to the bottom, instead of deleting it, so it will only go there if you DON"T have python installed right yet.
This article comments that it is new users are the most likely to have trouble navigating this problem:
I LOST THE TAB!...
Also, the Windows store version is known to have issues, and it EVEN states something to that effect, on the very page it directs you to when you try to use 'python':
Microsoft Store Python download page has this note:
"NOTE: We are still evaluating the Microsoft Store release of Python, and not all
features are guaranteed stable. See <>docs.python.org/3.7/using/windows.html
for more information.".
To further aggravate me, I could NOT find my appdata folder!
Took me 2 hrs to find out I had not forgotten how to locate it - Windows 1903 had ALSO reset my search settings, and re-hid system folders!
I have always had folders set to 'show hidden' or is it now called 'show system' files...
(and on the fifth day startup in the morning, all update restarts had been done), it decided to reset and also lock, my toolbar preferences!!!)
I am unsure what I will find I can't do, next...
Mr K L