PROBLEM with MOD_PYTHON

grahamd at dscpl.com.au grahamd at dscpl.com.au
Sat Oct 28 19:36:33 EDT 2006


dan84 wrote:
> I don't understand this error , in the (Apache) errorlog I read this
> message :
>
> [Sat Oct 28 14:04:03 2006] [error] make_obcallback: could not import
> mod_python.apache.\n
> [Sat Oct 28 14:04:03 2006] [error] make_obcallback: Python path being
> used "['C:\\\\Python24\\\\python24.zip', '.\\\\DLLs', '.\\\\lib',
> '.\\\\lib\\\\plat-win', '.\\\\lib\\\\lib-tk',
> 'C:\\\\Programmi\\\\Apache Group\\\\Apache2\\\\bin']".
> [Sat Oct 28 14:04:03 2006] [error] python_handler: no interpreter
> callback found.
> [Sat Oct 28 14:04:03 2006] [error] [client 127.0.0.1] python_handler:
> Can't get/create interpreter.
>
> I have Apache/2.0.59 (Win32) mod_python/3.2.10 Python/2.4.3
> I have read all the manuals, but I don't understand where I am wrong.
>
> thanks so much
>                Marco.

Read:


http://www.modpython.org/pipermail/mod_python/2006-October/022362.html

You may have to fiddle your Windows registry to add site-packages
directory.

BTW, there is a mailing list specifically for mod_python. You might be
better off asking questions directly there, as we have seen most
problems. You can also search the mailing list archives from the
mod_python site.

BTW, the quadruple backslashes is indeed because of the use of repr()
when doing the error dump.

Graham




More information about the Python-list mailing list