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:23

    These often comes from using pip to "update" system installed pip, and/or having multiple pip installs under user. My solution was to clean out the multiple installed pips under user, reinstall pip repo, then "pip install --user pip" as above.

    See: https://github.com/pypa/pip/issues/5599 for an official complete discussion and fixes for the problem.

提交回复
热议问题