[mod_python] Several Python Installations

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Mar 11 14:15:22 EST 2002


I don't believe mod_python does anything with those, so its probably
something in libpython..

On Mon, 11 Mar 2002, Andre Reitz wrote:

> I have two python installations on a single machine:
>
>     /usr/bin/python2.1 (with threads, SuSE rpm installation)
>
> and
>
>     /opt/inworks/bin/python2.1   (no threads for mod_python)
>
>
> Anything compiled good.
>
> mod_python - libs are only installed in
>     /opt/inworks/lib/python2.1/site-packages/mod_python
>
> Anything works fine.
>
> BUT: if there is a symbolic link:
>   /usr/bin/python -> /usr/bin/python2.1
> then mod_python tries to import mod_python.apache from
> /usr/lib/python2.1/site-packages and fails.
>
> if I delete  the symbolic link /usr/bin/python and
> restart apache anything is good again.
>
>
> WHY DOES IT BEHAVE LIKE THIS? is it a problem of libpython???
>
> Thank you very much in advance.
>
> --
> _____________________________________________
> inworks GmbH            Andre Reitz
> Magirusstrasse 44       Tel. 0731/93 80 7-21
> 89077 Ulm               http://www.inworks.de
>
>




More information about the Mod_python mailing list