Python is not recognized as an internal or external command.
After Installing Python, You have to add a python path in your environment variables in your system to recognized python in the command prompt
python command error
- Search for `Edit the system environment variables in your system
- Click on `Environment Variables at the bottom
- There is User Variables | System Variables
- Need to add a path in both of the User & System Variables
- Select
Path
& clickEdit
- Add your Environment Variables path in both User Variables & System Variables
To find out path for python
- Search for
Python
in your system - Right Click on it for Open File Location
If that is shortcut again
Right Click
on that shortcut & Open File Location
- You’ll take the original python location
Copy the location of the current directory like below
c:UsersCJAppDataLocalProgramsPythonPython38
Restart Command Prompt
Again check if python is working
C:UsersCJ>python -V Python 3.8.2