RackNerd Billboard Banner

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 vs python3, 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:

  1. Go to the official Python website:
    https://www.python.org/downloads/
  2. Download the latest version for Windows.
  3. IMPORTANT: During installation, check the box that says:
    Add Python to PATH
  4. Complete the installation. Once it’s done, open Command Prompt and run:
    python --version
    If it prints the version number (like Python 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:

  1. Find where Python is installed. Common paths include:
    • C:\Users\<YourName>\AppData\Local\Programs\Python\Python3x
    • or use the Windows search to find “Python”.
  2. 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.
  3. Also add the Scripts folder if it exists:
    • Example: C:\Users\<YourName>\AppData\Local\Programs\Python\Python3x\Scripts
  4. 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.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
RackNerd Billboard Banner
© 2025 Computer Everywhere
Your Everyday Guide to the Digital World.
Terms of Service | Privacy Policy
Copy link