Hi Dane,
I think I found the problem.  I have more than one version of Python installed 
on this machine for applications that need different versions.  It looks like 
python was defaulting to an earlier version (2.4) when I double clicked.  If I 
open with version 2.5 it runs just fine. 
Thanks,
Todd

________________________________

From: Dane Springmeyer [mailto:[EMAIL PROTECTED]
Sent: Mon 11/10/2008 5:54 PM
To: Brenningmeyer, Todd
Subject: Re: [Mapnik-users] mapnik installation windows - demo flashes



Hi Todd,

Sounds like everything is installed fine - that's great (You do need 
boost installed).

How exactly are you prompting the 'NameError:' ? Can you paste the 
whole thing?

To test the demo this works for me:

C:\> cd mapnik-0_5_1\demo\python\
C:\mapnik-0_5_1\demo\python\> python rundemo.py
C:\mapnik-0_5_1\demo\python\> start demo.png

Dane



On Nov 10, 2008, at 2:32 PM, Brenningmeyer, Todd wrote:

> I'm new to mapnik and am trying to install on windows.  I've walked 
> through the instructions and received no errors when I typed "from 
> mapnik import *" within Python.  When I double click on the python 
> script in the demo section, however, the command window just 
> flashes.  If I run the script within a command window it reads 
> NameError: name 'mapnik' is not defined.  Does anyone have 
> suggestions about how to get the demo up and running.  I've 
> installed Boost as well but this has not changed my ability to run 
> the demo.
> Thanks,
> Todd
> _______________________________________________
> 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