• Python programmers: Watch out for Win10 version 1903

    We had a report a few hours ago from MartinPurvis that performing an in-place upgrade from Win10 version 1803 to version 1903 clobbered Python:

    Turns out that a user path variable is added to the top of the environment variable list which gives priority to a 0kb python.exe inside the Windows Apps AppData instead of using the user defined python directory before the in-place upgrade.

    Looking around the web, I see that’s a common complaint. Poster Ac3_DeXt3R on SuperUser says:

    On typing “python” from search, opens the Python 2.7 prompt but when I type from command prompt window, it triggers the Microsoft Store.

    Poster ecool on the Microsoft Answers forum said, back in May:

    Windows 10 is using the System Environment variables over my User Environment. So just ordering the Python location to the top of the System Environment Path variable worked to remove the annoyance of trying to run python and it opening to the Windows Store.

    Back on the SuperUser site, Ramhound says:

    This was intended behavior. Microsoft added this behavior with 1903 because they recognized developers struggle getting Python installed. I read about this change but I don’t recall where I read it.

    I can’t find the original description Ramhound describes. Can anybody out there point me to it?