I know that this question looks like a duplicate but I've followed many online instructions on how to properly install PIL and none have worked.
I've tried everything in: Python Image Library fails with message "decoder JPEG not available" – PIL with no success.
When I run sudo pip install pil, worst of all, there is a misleading error. Jpeg, Freetyle, etc support is all listed as available. But when running some python code using PIL, the
notorious IOError of "decoder jpeg not available' comes up.
Even after symlinking into /usr/lib for the .so libjpeg files, nothing has worked.
Any ideas? Thank you.
Best Answer
You can try this:
1. clear PIL packages
2. install required packages
3.download Image and install
4. check if it works
If the result is:
Congratulation!!