Why pip is not working ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why pip is not working ?

'Pip' is not recognized as an internal or external command

8th Sep 2020, 4:53 PM
AHMAD RAJAIE
AHMAD RAJAIE - avatar
3 Answers
+ 8
Probably due to different path allocation. Add path for 'Pip' as explained below You can see this.. https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command
8th Sep 2020, 4:56 PM
Aditya
Aditya - avatar
+ 3
On Windows this should work: py -m pip install <package name>
8th Sep 2020, 5:09 PM
Seb TheS
Seb TheS - avatar
+ 3
1) In Linux Debian/Ubuntu you can try this :- apt install python-pip #for python 2 apt install python3-pip #for python 3 2) In windows Add path Variable https://matthewhorne.me/how-to-install-python-and-pip-on-windows-10/#:~:text=Add%20PIP%20to%20the%20Windows%20Environment%20Variables&text=Next%20select%20Environmental%20Variables%20and,New%20and%20type%20the%20following.&text=It%20should%20look%20something%20like,on%20all%20the%20opened%20windows.
8th Sep 2020, 5:17 PM
Iraavan 🔥
Iraavan 🔥 - avatar