有可能是pillow包的版本不对,安装最新的可以解决问题。 # install libjpeg-dev with apt sudo apt-get install libjpeg-dev # if you're on Ubuntu 14.04, also install this sudo apt-get install libjpeg8-dev # reinstall pillow
有可能是pillow包的版本不对,安装最新的可以解决问题。
# install libjpeg-dev with aptsudo apt-get install libjpeg-dev
# if you're on Ubuntu 14.04, also install this
sudo apt-get install libjpeg8-dev
# reinstall pillow
pip install --no-cache-dir -I pillow
作者:削微寒