[ms4w-users] python mapscript problem with MS4W 2.2.7
jeffmckenna at gmail.com
Thu Feb 14 21:41:38 EST 2008
Python support was upgraded to 2.5 in MS4W 2.2.7 (this was noted in
the announcement). I imagine the contributed python documentation has
to be updated according (I will attempt to do so). Please try python
2.5.x with your tests.
On 2/13/08, Fischer, Brian <bfischer at houstonengineeringinc.com> wrote:
> I was wondering if anyone else has tried the Python mapscript that is
> packaged with MS4W 2.2.7. I am getting this error:
> ""ImportError Python 2.4.1: C:\python24\python.exe
> Wed Feb 13 12:08:55 2008
> A problem occurred in a Python script. Here is the sequence of function
> calls leading up to the error, in the order they occurred.
> import mapscript
> print "<h2>mapscript module attributes</h2>"
> mapscript undefined
> # This file is compatible with both classic and new-style classes.
> import _mapscript
> import new
> new_instancemethod = new.instancemethod
> _mapscript undefined
> ImportError: DLL load failed: The specified module could not be found.
> args = ('DLL load failed: The specified module could not be
> I am just using the test-cgi-mapscript.py file that comes with MS4W to
> test. Python mapscript was working with MS4W 2.2.6 release. Has
> something changed or are the python mapscript files bad? Is it still
> compatible with Python 2.4.x? I looked back and the instructions seem
> to be the same in the readme.
More information about the ms4w-users