[mod_python] make_obcallback: could not import mod_python.apache.

Robert Lilly rclilly at cox.net
Thu Oct 9 19:01:41 EST 2003


> My setup:		Apache/2.0.47 (Win32) PHP/4.3.2
> mod_python/3.0.3 Python/2.2.3
>
> My http.conf:	LoadModule python_module modules/mod_python.so
>
> 			<Directory F:/MyApache/Apache2/htdocs/test>
> 			  AddHandler python-program .py
> 			  PythonHandler mptest
> 			  PythonDebug On
> 			</Directory>
>
> When I try to access http://localhost/test/mptest.py I get and Internal
> Server Error. The error.log shows: [Thu Oct 09 18:09:56 2003] [error]
> make_obcallback: could not import mod_python.apache.
>
> As noted above, I'm using Python 2.2.3 as I couldn't even get Apache to
> start when using mod_python with Python 3.
>
> Any clues on what I need to do to get mod_python working under Apache2?
>
> TIA,
>
> Robert Lilly

I solved my problem. After uninstalling Python 2.3.2 and re-installing 2.2.3
I didn't re-install mod_python.  After re-installing mod_python all is well.

Is there a reason mod_python won't work with the Python 2.3? It has been out
quite a while now.

Thanks,

Robert
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.524 / Virus Database: 321 - Release Date: 2003.10.06



More information about the Mod_python mailing list