Python Is Not Recognized As An Internal Or External Command

0


 


The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.


Follow These Steps:-

1. Open file explorer


2. Go to This PC


3. Then find the path where your python is installed Example below:-


C:\Users\haris\AppData\Program\Python\Python36-32

  • Check you have all these folders in your python folder below:-




4. After right click on This PC

5. Go to properties

6. Go to advance system settings

7. Click on Environment variables

8. Go to user variable, select Path, and click on Edit 

9. Click on New

10. Go to path where your python is installed and go to scripts folder and copy the path and copy paste it in.

11. Go to path where your python is installed and copy the path of your python36-32 folder path and copy paste it in.

12. Then click on OK

13. Then open command prompt and run command python
Tags

Post a Comment

0Comments

If you have any doubts, please let me know

Post a Comment (0)