Fix python is not recognized as an internal or external command in Windows

Опубликовано: 17 Март 2026
на канале: Rahul Mula
950
6

In this video, we will take a look at a couple of ways to fix this error -
╭─────────────────────────────────────────────╮
│ python : The term 'python' is not recognized as the name of a cmdlet, │
│ function, script file, or operable program. │
╰─────────────────────────────────────────────╯

Timestamps ⌛
00:00 Problem
00:35 Re-install Python
01:30 Edit Path
04:14 Fixed

Whether you're using the Command Prompt or Windows Powershell (Windows Terminal), these solutions will work in both of them. You can follow any of the below methods to fix your problem -
1️⃣ Re-install python from https://python.org/downloads and check the Add Python to PATH option as shown in 01:19
2️⃣ Edit the Path environment variable and add the python installation directory manually.

Leave a comment below to mention any other solution you know or state your problem if it isn't fixed!