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
相關文章
相關標籤/搜索