[Solved] Python Image Library fails with message “decoder JPEG not available” – PIL

It is possible that the version of the pillow package is incorrect. Installing the latest one can solve the problem.

# 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


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *