Unable to locate package python-pip

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

Ubuntu下执行apt install python-pip获得以下错误提示:

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

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

下载 get-pip.py.ui

而后执行:spa

python get-pip.py
  • 1

参考文档:

  1. Installation — pip 9.0.0 documentation
相关文章
相关标签/搜索