Hi Sean,

Open a python interpreter and try:
>>> from mapnik import ogcserver
>>> import sys
>>> sys.path
First line works ok for me. You may look into the result of "sys.path" to see 
where python is looking for modules.

Manel.


________________________________
De: [email protected] 
[mailto:[email protected]] En nombre de Sean Silbaugh
Enviado el: lunes, 18 de julio de 2011 18:42
Para: [email protected]
Asunto: [Mapnik-users] Mapnik WMS

Hello,

I am trying to get Mapnik WMS to run on my computer.  To do so, I followed the 
directions at here<http://www.perrygeo.net/wordpress/?p=49>.  Since I am 
running Centos5, I skipped the first step about installing Mapnik and installed 
Mapnik by instead following the directions 
here<http://krisarnold.com/2010/07/14/installing-mapnik-on-centos-5/>.  This 
appears to work fine in the installation, but when I go to try and render a map 
by typing in the address given at the end of the WMS setup directions, it gives 
me an error saying "ImportError: No module named mapnik.ogcserver.cgiserver".  
I have done a lot of research and it appears that the problem is that the 
module that I have is for Python2.4 but I have Mapnik using Python 2.6.  My 
question is: is there a version of Mapnik WMS that supports Python2.6 or is 
there a way that I can configure it in order to support Python2.6?

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

Reply via email to