[mod_python] installing

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Nov 26 11:36:27 EST 2001


You shouldn't need to use --with-python for this, your libpython will know
to look in /usr/local (if that's the prefix you compiled Python with,
which, BTW, is the default I think anyway)

I think your message means Apache process doesn't have persmissions to the
Python library directories.

Grisha

On Mon, 26 Nov 2001, Dan Allen wrote:

> I compiled python in /usr/local and I am using it fine from
> commandline and cgi, but to get this mod_python to work, I somehow
> need to let it know to look in /usr/local.  I figured the
> --with-python option would take care of that...it does find it, but I
> get
>
> 'import site' failed; use -v for traceback
>
> when compiling and in my error log when attempting to run a script.  Any thoughts?
>
> Dan
>
> --
> -- "Old enough to know better, but still to young to care."
> -- "Collect raw data and throw and throw away the expected.  What remains challenges your theories."
> -- "Let your fingers do the walking."
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>





More information about the Mod_python mailing list