Python MapScript module cannot be found?
Emil Zegers
taatuut at PLANET.NL
Tue May 10 00:50:36 PDT 2005
Hello,
I'm trying to use Python MapScript.
I have installed the Windows binaries supplied by Howard
(mapscript-4.5.win32-py2.3-full.exe from 9-5-2005) on a Windows XP Pro (IIS
5.1) system with Python 2.3.5.
Python scripts do run under IIS but when trying to access the Python
Mapscript module I get the following error:
File "C:\Python23\lib\site-packages\mapscript.py", line 4, in ?
import _mapscript
ImportError: DLL load failed: The specified module could not be found.
The problem seems to be in the 'import _mapscript' part. The file
_mapscript.pyd is located in C:\Python23\lib\site-packages\, together with
mapscript.py and other files.
What can be the reason for not finding the module?
As test I've tried renaming the file (to _mapscript.dll and _mapscript)
without succes.
The files in C:\Python23 and ub folders are given the needed Windows IUSR
rights.
Regards,
Emil
More information about the MapServer-users
mailing list