I am installing Mapnik v2.2.0 on my 64 bit Windows with (64 bit) Python 2.7. After following the usual install guide, when trying to import mapnik I get the following error:
Traceback (most recent call last): File "<ipython-input-9-1290ece2bb4b>", line 1, in <module> import mapnik File "x\mapnik-v2.2.0\python\2.7\site-packages\mapnik\__init__.py", line 69, in <module> from _mapnik import * ImportError: DLL load failed: %1 is not a valid Win32 application.
This definitely sounds to me like a 32 bit-64 bit issue, and Mapnik does say that its installation is for 32 bit. However, Googling around seems to suggest it should also work on 64 bit installation (as e.g. none of the guides explicitly say "this will absolutely not work if you're on 64 bit).
What would you think is the issue? Should I install 32 bit Python on my 64 bit OS? I would rather treat that as a last resort.