IOError:解码器jpeg不可用

时间:2015-08-14 03:42:07

标签: python python-imaging-library

大家

我已经对我的问题进行了大量搜索,下面还有一些类似的问题:

  1. IOError: decoder jpeg not available when using Pillow 1
  2. PIL decoder jpeg not available on ubuntu x64, 1
  3. 但问题仍然存在。

    问题描述:

    • 在我的MacOS X 10.9.5中安装Python PIL
    • 我安装了以下插件:
      

    PIL CORE,TKINTER,JPEG,ZLIB,FREETYPE2

    您可以在下面看到自检结果: enter image description here

    但是Exception仍然存在,这是详细信息: enter image description here

    任何努力都将得到真诚的赞赏。

1 个答案:

答案 0 :(得分:1)

我通过安装PILLOW而不是PIL解决了它,它对我有用。

  

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

     

pip安装枕

但我不知道为什么。

相关问题