+ 1

PIP problem python 3.7.x

Yesterday I was trying to install some packages with PIP in windows 10 and it throw me an error, at the end of that error PIP recommended me to update to the latest version of PIP which I did, thinking it'll solve my problem, after that I went to stack overflow and solved my initial problem but then I tried to install another package and another problem showed up, something like cannot open name = "__main__". The thing is I want to downgrade to PIP 10.0.1 (I upgraded to PIP 18) but I don't know how to do it without becoming an engineer. Can someone helo me? please? Update: the error it's " ImportError: cannot import name 'main' "

8th Sep 2018, 3:44 PM
Marco Cordero
Marco Cordero - avatar
7 odpowiedzi
0
Does pip3 work for you?... pip3 uninstall pip Do you have Anaconda installed?
8th Sep 2018, 4:14 PM
Steven M
Steven M - avatar
8th Sep 2018, 5:38 PM
Maninder $ingh
Maninder $ingh - avatar
0
It didn't, same trouble "cannot import name main"
8th Sep 2018, 5:40 PM
Marco Cordero
Marco Cordero - avatar
0
just uninstall the python and reinstall your python but remember to add path your python during installation.
8th Sep 2018, 5:41 PM
Maninder $ingh
Maninder $ingh - avatar
0
It could work but you know, I'm from windows right now so sudo and other linux commands won't work for me. I'm already uninstalling python, thanks
8th Sep 2018, 5:47 PM
Marco Cordero
Marco Cordero - avatar
0
That didn't worked either
8th Sep 2018, 9:24 PM
Marco Cordero
Marco Cordero - avatar
0
Might as well kill myself, what y'all think?
11th Sep 2018, 1:39 AM
Marco Cordero
Marco Cordero - avatar