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
相關文章
相關標籤/搜索