Python MapScript module cannot be found?

Howard Butler hobu at IASTATE.EDU
Tue May 10 10:06:35 EDT 2005


Emil,

Find all of the libmap.dll and gdal.dll in c:\python23 and
c:\python23\dlls and delete them.  Ensure that you don't have another
GDAL with ECW support somewhere else on your system.  The Python
Mapscript installer is pretty dumb and doesn't clean up after itself
properly.  Uninstall Python Mapscript using Windows add/remove
programs.

Install 4.4.2 MapScript which is located at
http://hobu.stat.iastate.edu/mapserver/mapserver/build_output/4_4_2/debug/python.zip
This MapScript does not have ECW or MrSID support (I am no longer
distributing those due to licensing constraints).

Refer to the message I sent Bas last week for more information.

Howard

At 3:48 PM +0200 5/10/05, Emil Zegers wrote:
>Hello Sean,
>
>I tried that by renaming/moving the wrong version NCS dll's that were in the
>path.
>
>But I don't know what set of NCS dll's should be used with the Python
>MapScript binaries I downloaded...
>
>I tried several (the NCS dll's found on Howard's site, the dll's that come
>with MapServer binaries) but so far no luck.
>
>Is there a way to determine what version is needed?
>
>Regards,
>
>Emil
>
>
>-----Original Message-----
>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
>Behalf Of Sean Gillies
>Sent: dinsdag 10 mei 2005 15:34
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: Re: [UMN_MAPSERVER-USERS] Python MapScript module cannot be
>found?
>
>
>Emil,
>
>I think Bas is right.  Once you get the outdated DLLs out of your
>system directory (or path) the _mapscript module should load properly.
>
>cheers,
>Sean



More information about the mapserver-users mailing list