[FWTools] Python mapscript in Linux FWTools

Frank Warmerdam warmerdam at pobox.com
Fri Sep 5 11:15:13 EDT 2008


Roger André wrote:
> Hi,
> 
> I'm curious if Python mapscript is built into mapserver in the current 
> Linux version of FwTools?  I've invoked the FWTools built-in Python 
> interpreter and tried a "import mapscript" command, which gives me a "No 
> module named mapscript" error.  I see in the "Detailed package notes" 
> for the Windows version that it is present there, but am not sure with 
> Linux.

Roger,

I should have done this as part of the last email, but I tried FWTools
2.0.4 and it does include python mapscript.

warmerda at gdal64[35]% fwtoolsl
warmerda at gdal64[36]% python
Python 2.2.1 (#1, Sep  9 2002, 10:01:46)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import mapscript
 >>>
warmerda at gdal64[37]% gdalinfo --version
GDAL 1.6.0dev, FWTools 2.0.4, released 2007/12/21

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list