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.
Written by liuyanghejerry
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#