Python is a versatile and widely-used programming language that is popular for its readability, simplicity, and vast ecosystem of libraries and frameworks. However, Windows users might sometimes face an error that prevents them from running Python scripts or accessing the Python interpreter from the command line. The error message usually reads: "Python was not found; run without arguments to install from the Microsoft Store." This can be frustrating for developers who require Python for their projects.
The good news is that there's a relatively simple solution to this issue, which involves managing app execution aliases in the Windows settings. If you're encountering this error, follow the step-by-step instructions below to resolve it and get Python up and running on your system.
Step 1: Access the Start Menu
- Click on the Start button located at the bottom left corner of your screen, or press the Windows key on your keyboard.