On Jan 10, 2017, at 09:47:10, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
Some python things are installed in /usr/lib/python2.7/site-packages, and others in /usr/lib64/python2.7/site-packages. It seems that if the package contains a binary, it is installed in /usr/lib64, while script-only packages are in /usr/lib
If I import a package in the python interpreter, it looks in both places, and all seems well. However, if I try to do the same thing via mod_python in Apache2, it seems only /usr/lib64 is checked. So, a script-only package like Trac is not found.
All the packages are from OBS.
I cannot see where to tell mod_python to check both of these places. Are there any Apache2 mod_python users out there?
I am not a mod_python user, but it seemed reasonable to me to see if there is a way of modifying the search path via a mod_python directive. There is, and this page should get you started: http://modpython.org/live/current/doc-html/directives.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org