Python Image Library fails with message “decoder JPEG not available” - PIL

有多是pillow包的版本不对,安装最新的能够解决问题。this

# 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
pip install --no-cache-dir -I pillow
相关文章
相关标签/搜索