Last Updated: February 25, 2016
· liuyanghejerry

If you have your PIL installed by pip and still no png support...

I have Centos 6.3 x64 and pip installed PIL, but no png support in that PIL.

The solution for me is extremely simple: yum install zlib-devel.i686

And now use pip to re-install PIL:

pip uninstall pil
pip install pil

Now the world is nice again.