[mod_python] Apache fails to start: ImportError: No module named mod_python.apache

Gregory Trubetskoy grisha at modpython.org
Sun May 28 14:20:30 EST 2000


Did you rebuild mod_python after rebuilding Python and made sure that it
is linked against the new libpython library? I have a feeling mod_python
is still looking in /usr/local

Grisha

On Sun, 28 May 2000, richard offer wrote:

> 
> Hi,
> 
> Apache is failing to start when I have mod_python as a DSO on RH 6.1.
> 
> The report from the apache error log is
> 
> Traceback (innermost last):
>   File "<string>", line 1, in ?
> ImportError: No module named mod_python.apache
> PythonInitFunction: could not import mod_python.apache.
> 
> 
> I've rebuilt python to live under the same top level directory as Apache
> (/usr/www/).




More information about the Mod_python mailing list