When I installed python on windows used by my company, I encountered a problem that the Python page of Microsoft Store opens even if I execute the python command with powershell etc. This issue no longer occurs if you use the python.org installer and select the "Add to Path" option during the installation. is. However, if you install it without selecting it, you will not be able to use the python command unless you follow the correct procedure, so keep it as a memorandum.
It is assumed that the python installation itself has been completed.
In the search window next to the start button, type "python" and select "Open File Location" from the python command line app choices that appear. A file explorer will open showing the location where python was installed, so copy the path where it was installed.
Add path to the environment variable by referring to [Reference: Set environment variable PATH].
From the search window next to the start button, enter "App Execution Aliases" and select "Manage App Execution Aliases" that appears. Turn off the items of python.exe and python3.exe displayed in "Manage app execution aliases".
Recommended Posts