雨林的Blog

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

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

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »