1

I have already added python to path and disabled app installer python.exe and python3.exe from app execution aliases, but the problem persists. what shall I do to fix this?

1
  • Please check the Path you defined in Environment variable 'Path' might be wrong. Commented Jan 5, 2021 at 4:36

1 Answer 1

0

According to Python.org's documentation page here, the two primary ways of installing Python on Windows is by using the full installer found on their website or installing via the Microsoft Store package. The Microsoft Store package of Python has been known to introduce bugs that are not found in the full install of Python. Microsoft has a FAQ page about running Python on Windows where they specifically mention the issue you are facing. Per Microsoft,

To help new users find a good installation of Python, we added a shortcut to Windows that will take you directly to the latest version of the community's package published in the Microsoft Store.

If you install Python using the installers from python.org and select the "add to PATH" option, the new python command will take priority over the shortcut.

Having run into plenty of issues with the Microsoft Store package of Python myself, my (and Microsoft's) recommendation would be to uninstall the Microsoft Store version of Python from your PC and install the official Python package and to make sure to check the "Add to PATH" option when doing so. The link to the official package can be found here.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.