Python MapScript module still not found (today's summary)
sgillies at FRII.COM
Wed May 11 12:19:54 EDT 2005
I'm sorry, but I don't have any experience with Python as a CGI on IIS.
I'm cc'ing Adam Ryan directly on this because I think he has the
On May 10, 2005, at 3:30 PM, Emil Zegers wrote:
> After fiddling around some more I finally leave this case unresolved
> I switched to ActiveState ActivePython instead of using the binaries
> www.python.org and reinstalled Python MapScript, no change.
> Tried a lot of different mappings in IIS for .py files:
> c:\python23\python.exe --> nothing works, time-out for all .py files
> c:\python23\python.exe -u "%s" "%s" --> works for .py scripts, import
> gives 'not found'
> c:\python23\python.exe "%s" --> works for .py scripts, import DLL
> gives 'not
> c:\python23\python.exe "%s" "%s" --> works for .py scripts, import DLL
> 'not found'
> Any ideas on what mapping to use and how this influences importing
> will be appreciated.
> So now under IIS I can run .py scripts under IIS and I can import
> (eg. importing os works fine) but I still have this problem with
> Importing MapScript from the Python command line works fine.
> Could it be it has something to do with the naming of the MapScript
> There's a _mapscript.pyd and mapscript.py, mapscript.pyc and
> after installing.
> For os module there is no .pyd, just the py, pyc and pyo (just a
> guess, I'm
> no Python expert)
> On a Python mail list I also found some similair info about importing
> problems under IIS and not with command line. They suspected the way
> files were installed may be (part of) the reason. I've installed
> with administrator rights and have granted IUR and IWAM all needed
> Switching to Apache might be a really easy solution for this but I
> like to have this working with IIS.
More information about the mapserver-users