Hi Guillaume,

> Hi list,
>
> I've been compiling, installing and using mapnik on an ubuntu box with
> no problem.
> I've tried to do the same on a second box, running Ubuntu-server
> Both compiling and installing went fine
> rundemo.py runs fine too
> from mapnik import * is fine within python interpreter
>
> BUT
> running another python file (which works ok on the other box, it's  
> just
> "from mapnik import *" and "m = Map(600,600)" ...) sends :
> NameError: name 'Map' is not defined
>
> if after that failure I run rundemo.py again, I've got :
> The mapnik library and python bindings must have been compiled and
> installed successfully before running this script.
>
> After a reboot of the server, it's fine again in python interpreter.
>
> Am I forgetting something ? What's up ?
>
> Thanks for your help !

There can be a number of reasons why you're getting this message.  
Could you verify  you haven't got  multiple Python versions installed  
on your Ubuntu box and that you're running correct one.

HTH
Artem
>
> -- 
> Guillaume SUEUR
>
> _______________________________________________
> 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