On 23 Sep 2008, at 12:00, S Knox wrote:

Dear list,

I've been trying to install mapnik 5.0.1 on Windows. I did as per the Windows install instructions on the wiki, but get a "Can't find mapnik.dll" error when type "from mapnik import *" in Python.

but I'm not sure whether the directory should be C:\mapnik-5_0_1 or C:\mapnik-5_0_0 as it says in the wiki? I read that the path to the installation directory was hard-coded somewhere. Does anyone know what the path should be for each version? I have tried many different combinations of %path% variables and installation directories, but to no avail. I also tried installing the 5_0_0 package but got similar errors.

I am using Active Python 2.5. I also have Cygwin, with a Python package installed if that makes a difference.

Can anyone help?

You have to ensure your PATH env var includes full path to mapnik.dll

set PATH=%PATH%;c:\Mapnik\bin (replace with your settings)

Cheers
Artem

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to