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