Ubuntu 18.04出现Unable to locate package python-setuptools 解决办法

2019-02-11T13:50:00

Ubuntu 18.04安装宝塔时失败提示:Pillow installation failed

需要安装 python-setuptools

sudo apt-get install python-setuptools

安装python-setuptools出现Unable to locate package python-setuptools 问题

sudo apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-setuptools

解决办法:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse
sudo apt update
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »