pip: no module named _internal

前端 未结 26 2276
梦谈多话
梦谈多话 2020-12-02 12:08

I have a problem when I try to use pip in any way. I\'m using Ubuntu 16.04.4

I should say that I\'ve used it already, and I never had any problem, but starting today

26条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 12:24

    For completeness, I just encountered this problem with "Ubuntu latest" ... v18.04 ... and fixed it in this way:

    python3 -m pip install --upgrade pip

    (Notice that it was necessary to specify python3 since this references Python 3.6.9. The python command on the same system references Python 2.7.17. Since this is apparently a system-wide installation it encountered a ["not sudo" ...] permission error, but it didn't matter because it was the wrong thing to do anyway. I was encountering the problem with pip3.)

提交回复
热议问题