In this short guide, you’ll see how to solve the following error:
‘pip’ is not recognized as an internal or external command, operable program or batch file.
You may also check the video below for the steps:
Steps to Solve PIP is Not Recognized as an Internal or External Command
Step 1: Download a recent version of Python
Download a recent version of Python by going to python.org
Step 2: Add Python to the Path
Click on the downloaded file to start the installation, and then check the box to Add Python to PATH at the bottom of the setup screen:
Add python.exe to PATH
Finish the installation, and the problem would be solved.
Step 3 (optional): Perform a test
Go to the Command Prompt and type the following command to check the version of PIP:
pip --version
Once you press enter, the command would work, and you won’t see the error that pip is not recognized:
pip 23.2.1
Note that if you don’t want to download a recent version of Python, but use the existing one, then you can manually add Python to the Path.