1

Everybody

I have done a lot of search about my question, some similar questions below:

  1. IOError: decoder jpeg not available when using Pillow 1
  2. PIL decoder jpeg not available on ubuntu x64, 1

but problem still remains.


Problem Description:

  • Installing Python PIL in my MacOS X 10.9.5
  • I did install the following plugins:

PIL CORE,TKINTER,JPEG,ZLIB,FREETYPE2

As you can see the selftest result below: enter image description here


But Exception remains, here's the detail: enter image description here

Any effort will be truely appreciated.

Community
  • 1
  • 1
Tangoo
  • 1,329
  • 4
  • 14
  • 34
  • I gave up and installed anaconda. – Patrick Maupin Aug 14 '15 at 04:21
  • What about [these](http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil) [answers](http://stackoverflow.com/questions/4632261/pil-jpeg-library-help)? – Peter Wood Aug 14 '15 at 04:30
  • @PeterWood These answer are for Linux. Try the following : http://stackoverflow.com/questions/8404956/installing-pil-with-jpeg-support-on-mac-os-x – FunkySayu Aug 14 '15 at 07:44

1 Answers1

1

I got it solved by installing PILLOW instead of PIL, and it works for me.

sudo rm -r /Library/Python/2.7/site-packages/PIL

pip install pillow

But I don't know why.

Community
  • 1
  • 1
Tangoo
  • 1,329
  • 4
  • 14
  • 34