1.ubuntu解决方法: sudo apt install libxft-dev libjpeg-dev libpng-dev降价或者升高pillow版本重新编译 pip install pillow==xxx -U