Add Python Path – Python is not recognized as an internal or external command | ninjasquad
In this tutorial, you’ll learn the python path error when you install python successfully but when you run python shows “Python is not recognized as an internal or external command”.
This python not recognized generally comes when the environment variable is not set. I think this term is complex if you are new to the windows system but don’t vary we are here to help you in an easy way. so, you use the python interpreter without any path problem.
Below I shared easy steps with images and it will help to easily set path on your windows system. Let follows us:
Firstly, Go to your Desktop screen and Find This PC or if your windows are older then My Computer and right-click on the icon and select properties.

On the left side of the screen, you can find System protection. Click on it.
System Properties window appears on the screen and selects Advanced from the top menu. Click on Environment variables.

On Environment variables, In these two vertical boxes appear click on the New button of User variables for YourPcName.
Then New User Variable appear, In this, you have to create a new path for your python. Keep the Variable Name the same i.e. PATH and for Variable Value just click on Browse Directory.

Now, Browse your python folder where you installed. Generally, you can find it in the Program Files of C Drive of your computer.
If you find then select the python folder and Tap on OK.
Then OK, OK, Apply, and OK.
Now Open the command prompt and to start the Python Interpreter then type python for python version 2 and python3 for python version 3.
Start Enjoy Learning Python
In the above, you learn to set the python path error i.e. “Python is not recognized as an internal or external command”.
Source: Internet