[MapProxy] Windows installation and ZLIB support

Oliver Tonnhofer olt at omniscale.de
Wed Dec 18 02:38:25 PST 2013


I can't help you with the compilation of PIL/Pillow on Windows, but you can use the binary packages form Gohlke (http://www.lfd.uci.edu/~gohlke/pythonlibs/). They are also linked in the Windows install documentation http://mapproxy.org/docs/nightly/install_windows.html#platform-dependent-packages

Just download the right package and `easy_install path\to\pillow.xxx.exe`.

On 18.12.2013, at 11:30, solitone wrote:
> I've installed Mapproxy on Windows 7 64-bit, following the docs: 
> http://mapproxy.org/docs/nightly/install_windows.html
> I had to compile PIL, as a binary version was not available for my system. I experienced complaints about the lack of vcvarsall.bat, but in the end I managed to compile it using the free Windows SDK C/C++ compiler from Microsoft, as explained here: 
> https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
> Now, when I test the demo, I get a grey empty box instead of a map, and the following error is logged:
> IOError: decoder zip not available 
> This makes sense, as I noticed the following warning when installing PIL or pillow with easy-install:
> *** ZLIB (PNG/ZIP) support not available
> I've downloaded the official ZLIB1.DLL, precompiled from zlib version 1.2.8. But now the point is--how can I do an easy-install pillow, and have ZLIB support available?
> Cheers
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn

More information about the MapProxy mailing list