Your cart is currently empty!
How to Fix Python was not found run without arguments to install from the Microsoft Store
If you’ve tried to run Python from the command line and saw this message:
Python was not found; run without arguments to install from the Microsoft Store
Don’t panic. This error simply means your system can’t find the Python executable. It doesn’t mean Python is broken—it probably isn’t even installed or properly added to your system’s PATH. Here’s how to fix it in a few quick steps.
Why This Error Happens
This message shows up when:
- Python isn’t installed on your system.
- Python is installed, but it’s not added to your system’s PATH.
- You’re using the wrong command (
python
vspython3
, or vice versa).
Let’s walk through the fix.
Fix #1: Install Python the Right Way
If Python isn’t installed yet, here’s the correct way to do it:
- Go to the official Python website:
https://www.python.org/downloads/ - Download the latest version for Windows.
- IMPORTANT: During installation, check the box that says:
✅ Add Python to PATH - Complete the installation. Once it’s done, open Command Prompt and run:
python --version
If it prints the version number (likePython 3.12.1
), you’re good.
Fix #2: Add Python to PATH Manually
If Python is already installed but not recognized, you may need to add it to your PATH manually:
- Find where Python is installed. Common paths include:
C:\Users\<YourName>\AppData\Local\Programs\Python\Python3x
- or use the Windows search to find “Python”.
- Copy the path, then:
- Press
Win + S
and search for “Environment Variables”. - Click Edit the system environment variables.
- In the System Properties window, click Environment Variables.
- Under “System variables”, scroll to
Path
, then click Edit. - Click New, then paste your Python path.
- Press
- Also add the Scripts folder if it exists:
- Example:
C:\Users\<YourName>\AppData\Local\Programs\Python\Python3x\Scripts
- Example:
- Click OK to close all windows.
Now open a new command prompt window and try:
python --version
It should now work.
Fix #3: Use the Right Command
On some Windows setups, python3
works while python
doesn’t (especially if you’re using Windows Subsystem for Linux). Try both:
python3 --version
If that works, just use python3
going forward.
Final Tip: Avoid the Microsoft Store Install
When Windows offers to install Python from the Microsoft Store, it’s tempting to just click. But that version often lacks the flexibility and customization you need—especially for development. Stick to the official Python.org installer for the best experience.
Wrap-Up
If you’re seeing the “Python was not found” error, the fix is usually straightforward: either install Python properly or make sure your system knows where to find it. Once it’s set up right, you won’t run into this again.
Have questions or still stuck? Drop them in the comments and I’ll help you out.
Tech enthusiast and content creator passionate about making technology simple for everyone. I share practical tips, guides, and reviews on the latest in computers, software, and gadgets. Let’s explore the digital world together!