[mod_python] Re: Re: Support for Python 2.4 (Edward Diener)

Nicolas Lehuen nicolas.lehuen at gmail.com
Thu Mar 17 15:09:31 EST 2005


Two questions here :

1) When you run the 3.1.4 installer, at the end of the installation
process, do you get a directory selector dialog asking you where the
Apache installation is ? If not, please check if you have a TCL/TK
environment set (check for the presence of TCL_* variables in your
environment variables). Maybe it's getting in the way.

2) Do you point it to the root of the installation directory, i.e. to
the directory in which you can find the bin, lib, modules and other
directories ? You should not point to the bin or modules directory. If
you did so, mod_python.so must have ended at the wrong place, or the
installer should have displayed an error message.

3) Do you get any error message just after this dialog ?

4) Do you have a file named "mod_python_so.pyd" in your
$PYTHON\Lib\site-packages directory ? If so, the installation has
failed for a reason or another, just copy and rename it to


On Thu, 17 Mar 2005 10:04:05 -0500, Eddie Diener
<eddielee at tropicsoft.com> wrote:
> After downloading from the aforementioned url below and installing
> mod_python-3.1.4.win32-py2.4.exe, when I attempted to start Apache 2.052 I
> received a failure and these messages in the Windows Event Viewer: 
> The Apache service named reported the following error:
> >>> Syntax error on line 173 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.conf: 
> The Apache service named reported the following error:
> >>> Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_python.so
> into server: The specified module could not be found. 
> When I revert to the mod_python.so from the mod_python-3.1.3.win32-py2.3.exe
> installation, Apache starts and works with no problems. 
> Does anybody know what might be wrong ? 
> "See:
> http://www.modpython.org/pipermail/mod_python/2005-February/017486.html
> The Win32 Python 2.4 binary mentioned still seems to be there."
> Eddie Diener wrote ..
> > Let me clarify. I am trying to install the Windows binary,
> mod_python-3.1.3.win32-py2.3.exe,
> > which is the latest mod_python Windows binary, under Python 2.4 running
> > under Windows. I have already installed this binary under Python 2.3 but
> > I want naturally to use the latest version of Python and mod_python under
> > Windows. When I attempt to install the binary, it says it only finds the
> > registry entry for Python 2.3, and therefore the installation paths are
> > for Python 2.3 and not Python 2.4 under Windows, and can not be changed.
> > 
> > Is there a reason that no Windows binary installation of mod_python has
> > been created for Python 2.4 ? Will there be a Windows binary version of
> > mod_python for Python 2.4 ? I would much appreciate having one as I have
> > planned to do my web server programming using mod_python and, if I can
> > not get mod_python to install for the latest Python distribution, I have
> > to look for another means of doing Python web server programming even
> though
> > I am already very familiar with mod_python and enjoy using it.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list