[mapserver-users] Python mapscript install v 6.4 --> "No module named mapscript"

kaipi mapcollect at gmx.net
Wed Jan 22 02:02:53 PST 2014


Hi,

I can not get Python mapscript properly installed since Mapserver 6.4
I am compiling Mapserver on Ubuntu 12.04 64Bit:

cmake .. -DWITH_KML=1 -DWITH_GD=1 -DWITH_SVGCAIRO=0 -DWITH_RSVG=1
-DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_CURL=1 -DWITH_PYTHON=1
-DWITH_PHP=1

--> /usr/lib/cgi-bin/mapserv -v
/MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
/
Seams to work properly. When I try to fetch maptiles via Tilecache (using
Python mapscript) I get the error message "/No module named mapscript/".

I guess I don't have Python mapscript properly installed. The ReadME-File in
Python/Mapscript folder recommends to do 
python setup.py build
python setup.py install
but this does not work in 6.4 (it did in 6.2) --> "/IOError: [Errno 2] No
such file or directory: '../../mapscriptvars'. Has MapServer been made/?"

So what to do ?

Thanks,
Harry 





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Python-mapscript-install-v-6-4-No-module-named-mapscript-tp5099406.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list