Unable to locate package python-pip

原文:https://blog.csdn.net/yyinhai/article/details/53056973

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

参考文档:

  1. Installation — pip 9.0.0 documentation
posted @ 2018-05-20 10:50  梦醒江南·Infinite  阅读(10769)  评论(0编辑  收藏  举报