[mod_python] cannot import mod_python.apache error

Mongryong Mongryong at sympatico.ca
Mon Feb 3 22:13:01 EST 2003


On Mon, 2003-02-03 at 21:46, Arcady Genkin wrote:
> "Gregory (Grisha) Trubetskoy" <grisha at modpython.org> writes:
> 
> > Someone else reported this "import site" problem, and as far as I can
> > remember it is actually a bug in Python, not mod_python - perhaps someone
> > can fill in the details?
> 
> When installing Python from sources, "make install" installs the files
> in $prefix/lib/python2.2/lib-dynload/ with bad permissions (even though
> permissions for everything else are fine).  I have to manually fix
> them every time I (re)compile Python.  When I forget to fix them, the
> error message that I am seeing is exactly:
> 
>       [Mon Feb 03 21:34:15 2003] [error] make_obcallback: could not
>       import mod_python.apache.
> 
> Perhaps this is what was causing the grief for the original poster,
> since it looks awfully similar to the subject line of this thread.

I suggested to the original poster to use Python2.2.2 instead of
Python2.3a.  He's been quiet ever since, so I'm assuming that solved his
problem.





More information about the Mod_python mailing list