Hi, does anyone know (when I install Python) if (how) I have to set some options to enable the mapserver for python? Or what I need to import mapscript for python?
I´ve installed mapserver 4.10.2 and tried to call "import mapscript" from my python file but I get the following error in the apache error_log: [Fri Dec 07 10:49:12 2007] [error] [client 172.21.18.22] Traceback (most recent call last): [Fri Dec 07 10:49:12 2007] [error] [client 172.21.18.22] File "/var/www/htdocs/tc/tests/test.py", line 2, in <module> [Fri Dec 07 10:49:12 2007] [error] [client 172.21.18.22] import mapscript [Fri Dec 07 10:49:12 2007] [error] [client 172.21.18.22] ImportError: No module named mapscript [Fri Dec 07 10:49:12 2007] [error] [client 172.21.18.22] Premature end of script headers: test.py -- View this message in context: http://www.nabble.com/mapscript-%2B-Python-tf4961230.html#a14209780 Sent from the Mapserver - User mailing list archive at Nabble.com.
