python - pip is not working after upgrade

后端 未结 1 655
梦谈多话
梦谈多话 2021-02-05 07:13

I tried upgrade pip3 with this command:

sudo pip3 install --upgrade pip

but unfortunately it doesn\'t work anymore and shows this me

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 08:05

    It seems like you don't use virtualenv and your pythons/paths are probably messed up. I faced with similar problem with python-2.7 and -3.4 on Ubuntu 14.04. I tried

    sudo python -m pip install --upgrade --force-reinstall pip
    

    for 2.7 and it helped. Then I reinstalled pip for python-3.4 via easy_install3.

    0 讨论(0)
提交回复
热议问题