About the PIL Error — IOError: decoder zip not available

sudo pip uninstall PIL
sudo pip install pillow 

^^ fixed it for me.

Pillow is a fork of PIL that is compatible with pip/setuptools and gets a little better maintenance. I haven’t seen any API differences yet.

Edit: There is one notable API difference. PIL exposes Image as a top-level namespace, so you can

import Image # in PIL only

but

from PIL import Image  # in pillow or PIL
  • Thanks, Leopd!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)