Ow can I troubleshoot the issue of “ python’ is not recognized as an internal or external command, operable program or batch file”

183    Asked by CharlesParr in Python , Asked on Jan 8, 2024

When I was engaging in working in a Windows system I encountered an error message which was showing “Python’ is not recognized as an internal or external command, operable program or batch file”. What are the reasons for this particular issue and what could be the approach for solving this issue? 

Answered by Danilo Guidi

In the context of Python programming language, if you are getting the error message of “Python’ is not recognized as an internal or external command, operable program or batch file” then the possible reasons for this particular issue could be the following:-

Python is not installed properly.

The PATH of the system variable does not include the path.

Here are the steps given for resolving this particular issue:-

Ensure that you have the appropriate version of Python and it is installed properly on the system. If not install Python from their official website.

Ensure that you choose the Python path during the process of installation.

Verify your installation by typing the command “python” in the new command prompt. If there is Python this particular command would launch the program without the previous error.



Your Answer

Interviews

Parent Categories