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