2

I get this error while installing Pillow, the python imaging library.

> pip intall pillow
...
--enable-jpeg requested but jpeg not found
A.K.
  • 3,593
  • 1
  • 17
  • 19

1 Answers1

2

The answer is at

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

I needed to install the jpeg developer library.

> sudo apt-get install libjpeg-dev

That solved the problem.

Community
  • 1
  • 1
A.K.
  • 3,593
  • 1
  • 17
  • 19
  • How about closing this as a duplicate of http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil? – Hugo Nov 20 '15 at 06:09
  • I could not find the question when I tried searching with the error string and pillow but it is indeed a duplicate. How do I close it so that it still shows up in search results. – A.K. Nov 21 '15 at 07:22
  • Closing as a duplicate keeps the question here, so people can still find this via search results and then go to the original. – Hugo Nov 21 '15 at 13:32