Member-only story

4 Simple Steps to Fix Python-pip Not Recognized in cmd Issue

A step-by-step guide to fix “pip’ is not recognized as an internal or external command, operable program, or batch file.”

--

As a python learner, nothing frustrates me more than seeing this error message in cmd:

So I am making this step-by-step guide to fix this issue, once and for all.

1. Download/Re-download pip in cmd

Type in cmd:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
install pip in cmd

2. Install pip in cmd and copy the new path

1. Type in cmd:
python get-pip.py
2. Copy new pip file path from cmd

3. Add this new pip file path to Windows Environment Variables

Navigate to Control Panel> System

Select Advanced System Settings > Environment Variables…

In the System variables section, select Path and click Edit

Select new to add the Pip file path

Move the pip file path to the top of the list and click OK

4. Check if pip exists in cmd

Type in cmd:
pip help

Pip is installed successfully on your computer now. 🎊

--

--

fylim
fylim

Written by fylim

is passionate about transforming texts into data points #NaturalLanguageProcessing https://www.linkedin.com/in/feng-yueh-lim-bb5910106/

No responses yet

Write a response