mod_python installation problem ..severity High
grahamd at dscpl.com.au
Tue Nov 14 12:07:00 CET 2006
> On doing this and duly following the installation and testing
> instructions at www.modpython.org and then pointing the url as
> http://localhost/test/mptest.py, i get the following error on the
> server log file:
> [Tue Nov 14 15:17:47 2006] [error] make_obcallback: could not import
> [Tue Nov 14 15:17:47 2006] [error] make_obcallback: Python path being
> used "['C:\\\\Program Files\\\\Apache
> Group\\\\Apache2\\\\bin\\\\python24.zip', '.\\\\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 127.0.0.1] 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
More information about the Python-list