All articles
· 2 min read

How to Check if Python Is Installed on Windows (3 Ways)

Not sure if Python is on your PC? Check in 10 seconds, then fix the most common errors.

How to Check if Python Is Installed on Windows (3 Ways)

Not sure if Python is installed on your Windows PC? You can find out in about 10 seconds. Here are three easy ways, from fastest to slowest.

Way 1: Use Command Prompt

  1. Press the Windows key, type cmd, and press Enter.
  2. Type python --version and press Enter.
  3. If you see something like Python 3.12.4, Python is installed. The number is your version.

If you see 'python' is not recognized, Python may still be installed, but Windows cannot find it. Read our guide: fix 'python' is not recognized on Windows.

Way 2: Use the py launcher

Many Python installs include a small tool called py.

  1. In Command Prompt, type py --version and press Enter.
  2. To see every Python version on your PC, type py -0.

Way 3: Look in Windows Settings

  1. Open Settings, then Apps, then Installed apps.
  2. Type Python in the search box.
  3. If you see "Python 3.x", it is installed.

Which Python is Windows using?

If you have more than one Python, type where python in Command Prompt. Windows shows the full path of each one. The first path in the list is the one that runs.

Do you really need to install Python?

If you only want to run a script or learn the basics, you may not need a full Python setup. Python Code Runner is a free offline Python editor for Windows. It can run Python scripts without installing Python separately. You can read how it works here: run Python without installing it.

Quick summary

Command What it tells you
python --version Your Python version
py --version Your version through the py launcher
py -0 All Python versions on this PC
where python Where Python is installed

Need to install a package? See fix 'pip' is not recognized.

Share this article
Newsletter

Enjoyed this? Get the next one in your inbox

New guides, tips and product updates — no spam, unsubscribe anytime.

Free to download · Unsubscribe anytime

More from the blog