FG
💻 Software

How do I add Python to the Windows PATH?

Fresh5 days ago
Mar 15, 2026715089 views
Confidence Score1%
1%

Problem

I want to be able to run Python commands from the Windows CMD. However, if I don't specify Python's full path for each command, I get an error saying "Python is not recognized as an internal or external command, operable program or batch file." How do I add Python to the Windows PATH permanently?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I add Python to the Windows PATH?

Low Risk

For Windows 10/8/7: Open (Right click in the start menu, or use the keyboard shortcut Win+Pause) Click in the sidebar. Click Select in the section Click Add Python's path to the end of the list (the paths are separated by semicolons). For example: For Windows XP: Open (Type it in the start menu, or use the keyboard shortcut Win+Pause) Switch to the tab Click Select in the section Click Add Python's path to the end of the list (the paths are separated by semicolons). For example: Test on a new t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment