mod_python installation problem ..severity High

Graham Dumpleton grahamd at
Tue Nov 14 12:07:00 CET 2006

boney wrote:
> On doing this and duly following the installation and testing
> instructions at and then pointing the url as
> http://localhost/test/, i get the following error on the
> server log file:
> [Tue Nov 14 15:17:47 2006] [error] make_obcallback: could not import
> mod_python.apache.\n
> [Tue Nov 14 15:17:47 2006] [error] make_obcallback: Python path being
> used "['C:\\\\Program Files\\\\Apache
> Group\\\\Apache2\\\\bin\\\\', '.\\\\DLLs', '.\\\\lib',
> '.\\\\lib\\\\plat-win', '.\\\\lib\\\\lib-tk', 'C:\\\\Program
> Files\\\\Apache Group\\\\Apache2\\\\bin']".
> [Tue Nov 14 15:17:47 2006] [error] python_handler: no interpreter
> callback found.
> [Tue Nov 14 15:17:47 2006] [error] [client] python_handler:
> Can't get/create interpreter.

Your registry settings for Python do not include the site-packages
directory where mod_python typically gets installed. Thus, trying
updating the registry to add the site-packages directory. As a guide,
see the following post from the mod_python mailing list archive as a

This is for Python 2.5, but should give an indicator of what to look
for. Update the PythonPath entry.

For any mod_python help in the future, suggest you subscribe to the
mod_python mailing list and ask your question there as there is a
higher concentration of people there who are familiar with the
software. Details of the mod_python mailing list are on the mod_python
web site.


More information about the Python-list mailing list