Same problem here, JPEG support available
but still got IOError: decoder/encoder jpeg not available
, except I use Pillow and not PIL.
I tried all of the above and more, but after many hours I realized that using sudo pip install
does not work as I expected, in combination with virtualenv
. Silly me.
Using sudo
effectively launches the command in a new shell (my understanding of this may not be entirely correct) where the virtualenv is not activated, meaning that the packages will be installed in the global environment instead. (This messed things up, I think I had 2 different installations of Pillow.)
I cleaned things up, changed user to root and reinstalled in the virtualenv and now it works.
Hopefully this will help someone!