Broken Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Broken Python

I downloaded Pygame through cmd prompt and it worked fine. After downloading, it said that pip is outdated. I typed the recommended command, but now if I try to install MatPlotLib it says "pip" is not recognised as an internal or external command, operable system or3 batch file". I checked the path (echo %PATH%) and sure enough Python 37-32\Scripts is there. Why is this happening? I tried typing "python -m pip" but it comes with an "import certificateError"

13th May 2019, 5:05 PM
Clueless Coder
Clueless Coder - avatar
8 Answers
+ 4
Sorry for the late reply, yes I will try that. I will get back to in a few hours hopefully. Depends how my schedual turns out.
14th May 2019, 3:05 PM
Clueless Coder
Clueless Coder - avatar
+ 4
Still not working. It says importError: cannot import name "CertificateError" from [MY PIP PATH] unknown location
14th May 2019, 3:54 PM
Clueless Coder
Clueless Coder - avatar
+ 3
It says no such file or directory
14th May 2019, 4:16 PM
Clueless Coder
Clueless Coder - avatar
+ 3
I used easy_install pip when I type pip, the original "command does not exist" error is replaced with "importError: cannot import name CertificateError"
14th May 2019, 4:23 PM
Clueless Coder
Clueless Coder - avatar
+ 2
Did you try : py -3 -m pip install...
13th May 2019, 8:51 PM
Théophile
Théophile - avatar
0
Is pip.exe in Python\Scripts? If yes, write : python.exe "path of pip.exe" install MatPlotLib
14th May 2019, 4:13 PM
Théophile
Théophile - avatar
0
"full path of python.exe" "full path of pip.exe" install MatPlotLib. Maybe
14th May 2019, 4:18 PM
Théophile
Théophile - avatar
0
I'm sorry, I don't know what to do...
14th May 2019, 4:23 PM
Théophile
Théophile - avatar