pip: no module named _internal

前端 未结 26 2216
梦谈多话
梦谈多话 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:20

    my solution: first step like most other answer:

    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    python2.7 get-pip.py --force-reinstall
    

    second, add soft link

    sudo ln -s /usr/local/bin/pip /usr/bin/pip
    

提交回复
热议问题