I did use the system python command, it was a pip 9 version and i hacked it by changing the line "from pip._internal import main" to "from pip import main" then i could upgrade to pip 20.0.1 and now it works fine

Le 25/01/2020 à 23:56, Andreas Beckmann a écrit :
Control: tag -1 = moreinfo unreproducible

On Fri, 24 Jan 2020 10:17:34 +0100 joanluc
<jean-luc.labo...@u-bordeaux.fr> wrote:
When invoking `usr/bin/pip' with any command of it, the program crashes with
the message :
"Traceback (most recent call last):
   File "/usr/bin/pip", line 9, in <module>
     from pip._internal import main
ImportError: No module named _internal"
Hi,

I cannot reproduce this. The pip._internal module should be located at
/usr/lib/python2.7/dist-packages/pip/_internal/*
Are there any local environment variables on your system that alter the
python search path?
Are you using the system python command or do you have a "special"
python installation?
Is anything corrupted? (e.g. check with debsums)


Andreas

--
Jean-Luc LABORDE (Joan-Luc Labòrda)
CoFo CRPP 0556.84.30.13

Reply via email to