[Solved] Pip is not recognized as an internal or external command operable program or batch file.

In this post, I am going to guide you on how to solve this error and what the major reasons behind this error are. So let us first look into the reasons for getting this error before solving the error.

First, open the Windows PowerShell by right-clicking on the windows start button and then click on the “Windows PowerShell” or open the command prompt by using the “Windows+ R” or by typing “cmd” in the Run dialog box. Now the command prompt/Windows PowerShell will open.

The Error:  

I know you are trying to install a package like I install the package "pandas" by typing the command below:

pip install pandas

and you are encountering the following error:

The term ‘pip’ is not recognized as the name of cmdlet, function, or operable program.

This error means simply is that your command prompt is unable to find the pip. Now that we know the root cause of this error, let us fix this


Step1:- To solve for this error, first close your command prompt/ Powershell and go to the directory where you have installed your python.