Hello Christian,

That setup looks just fine to me, so I'm not sure what is wrong.

Here a few extra ideas:

* Try putting 'c:\mapnik_0_6_0\lib' in the PATH variable for both the system and the user.

* Try fully removing and replacing a freshly unzipped 'mapnik_0_6_0' folder (this would avoid any problems with compiled .pyc/pyd files referencing a previous location - although this is surely not the problem as I see below that the '__init__.py' is being imported rather than a compiled version)

* Try running from a 'start>cmd' terminal rather than IDLE and see if the paths to the DLL are picked up that way.

* Lastly, try running a python interpreter with the 'verbose' flag and see if that gives any hints.

c:\path\to\Python.exe -v
>>> import mapnik

Dane


On Apr 7, 2009, at 4:39 AM, Göransson Christian wrote:

Hi!

I'm trying to runt Mapnik 0.6.0 on Windows XP. I've installed Python 2.5.3, unzipped mapnik-0.6.0-win32-py25.zip to c:\mapnik_0_6_0 and updated PATH and PYTHONPATH.

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c: \mapnik_0_6_0\lib
PYTHONPATH=c:\mapnik_0_6_0\site-packages

When I run "import mapnik" I get the following error:

IDLE 1.2.4
>>> import mapnik

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import mapnik
File "c:\mapnik_0_6_0\site-packages\mapnik\__init__.py", line 44, in <module>
    from _mapnik import *
ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.


Any ideas?

/Christian
_______________________________________________
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