[mod_python] mod_python not loading

Ben Boeckel mathstuf at gmail.com
Fri Sep 15 23:36:27 EDT 2006


Hi, I'm having trouble getting the tutorials to work with the
mptest.py stuff. I've searched and searched for anything that could
help me to get the Python pages to render, but I have not been able to
so yet. I keep getting Internal Server errors and the error logs don't
list anything other than:

[Fri Sep 15 23:24:07 2006] [error] make_obcallback: could not import
mod_python.apache.\n
[Fri Sep 15 23:24:07 2006] [error] python_handler: no interpreter
callback found.
[Fri Sep 15 23:24:07 2006] [error] [client 127.0.0.1] python_handler:
Can't get/create interpreter.

My httpd.conf also has:

<Directory "D:/Program Files/Apache Group/Apache2/htdocs/test">
    AddHandler mod_python .py
    PythonHandler mptest
    PythonDebug On
</Directory>

I'm running:
Apache 2.0.59
Python 2.4.3
mod_python 3.2.8
Windows XP SP2

Also, can mod_python handle embedded Python in HTML (sort of like PHP)
or is another module needed for that?


More information about the Mod_python mailing list