I'm trying to port a python program from OS X to Windows 7. This program processes a png with tkinter eg
self.logoImg = ImageTk.PhotoImage(Image.open('GrowthPathLogo.png'))
The code is failing with IOError: decoder zip not available
I've tried installing pip with pypm. Then I try building it with pip. At the end of the build process it reports that there is no support for png/zlib
I get the same errors with the python.org installation on Windows.
I'm stuck and I'm not skilled at building C libraries. Neither do I know how pip works. I have a gnu zlib library installed but it's not helping at all. I have Visual C++ 2008 Express installed, and at least that's working because pip does compile things successfully.
Try the build here that's maintained by Christoph Gohlke. To build PIL yourself you need several libraries as mentioned in the README: libjpeg, zlib, freetype2, and littleCMS. Read USAGE.txt in zlib125-dll.zip for instructions on linking to zlib with Visual C++ or MinGW.