Unable to locate package python-pip

Unable to locate package python-pip

Ubuntu下执行apt install python-pip得到如下错误提示:

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package python-pip

解决方法如下:(注意,需要切换到root账户,可以使用su -命令):

下载 get-pip.py.

然后执行:

python get-pip.py

参考文档:

  1. Installation — pip 9.0.0 documentation
    原文作者:还没想好昵称
    原文地址: https://blog.csdn.net/yyinhai/article/details/53056973
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞