What to do if the Microsoft Store opens even if you run python on Windows

Introduction

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.

procedure

It is assumed that the python installation itself has been completed.

1. Check the path of the python executable file

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.

2. Add path to the environment variable

Add path to the environment variable by referring to [Reference: Set environment variable PATH].

3. Find python from the app execution alias and turn it off

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".

reference

Recommended Posts

What to do if the Microsoft Store opens even if you run python on Windows
What to do if Python doesn't work on Git for Windows
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if the library doesn't load when you run it in PyCharm, even though it works fine on terminal
What to do if you are addicted to Windows character code
What to do if you installed pyenv on Mac OS using Homebrew but the python version doesn't switch
What to do if Python IntelliSense is not displayed in VS Code on Windows
What to do if you can't use WiFi on Linux
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you run python in IntelliJ and end with an error
[* CentOS 6.10] What to do if you cannot add the IUS Community Project repository on CentOS 6.5 (VirtualBox)
What to do if you can't install pyaudio with pip #Python
What to do if you get a minus zero in Python
What to do if the inode is exhausted on EC2 Linux
What to do if you can't use the trash in Lubuntu 18.04.
When I tried to run Python, it was skipped to the Microsoft Store
What to do if you couldn't send an email to Yahoo with Python.
What to do if you can't use scikit grid search in Python
What to do if you forget your login password on Manjaro Linux
What to do if you get stuck during Anaconda installation on Linux
What to do if the Chainer (Windows) sample mnist terminates with WinError 183.
What to do if the server doesn't start with python manage.py runserver
Put MicroPython on Windows to run ESP32 on Python
What to do if you can't pipenv shell
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do if you get a "Wrong Python Platform" warning when using Python with the NetBeans IDE
What to do if you get the error Target WSGI script'/var/www/xxx/xxx.wsgi' cannot be loaded as python module
What to do if you get an error when installing python with pyenv
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if you can't pip install mysqlclient
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if SciPy installation fails on CentOS
What to do when you can't bind CaboCha to Python
What to do if "export" keeps appearing on terminal when trying to put Python on macOS
What to do if you get `No kernel for language python found` in Hydrogen
What to do if the print command itself causes an error in Maya python
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if the progress bar is not displayed in tqdm of python
How to install and use pyenv, what to do if you can't switch python versions
What to do if Python does not switch from the System version in pyenv
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if the package dependency cannot be repaired
What you can do with the Python standard library statistics
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
What to do if `pip install matplotlib` fails on Mac
What to do if you can't log in as root
What to do if pip install mysqlclient fails on MacOS
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
What to do if you lose your EC2 key pair
Use Python to monitor Windows and Mac and collect information on the apps you are working on
What to do if you get Swagger-codegen in python and Import Error: No module named
How to run Python on Windows without polluting the environment as much as possible (Scoop edition)
What to do if you get an Undefined error:'Module_six_moves_urllib_parse' object has no attribute'urlencode' on MacOS
What to do if you can't create a virtual environment using venv even though you're following the Django official website
What to do if you cat or tail a binary file and the terminal is garbled
What to do if yum breaks
Python 3.6 on Windows ... and to Xamarin.