[mod_python] Import site failed

Jessamyn Smith jessamyn.smith at pason.com
Fri Mar 28 07:56:42 EST 2003

Thank you everyone for your help.  We managed to fix the problem by
adding a symbolic link:
ln -s /path/to/Python-2.2.2 /path/to/PythonHome

And editing the apache startup script (/etc/init.d/httpd), adding:
export PYTHONHOME='/hub/apps/PythonHome/'
in the start() function.

I felt pretty dumb for not checking the webpage for a FAQ.  We were
googling for "import site failed", when apparently we should have been
googling for "obcallback".  I am also still perplexed as to how my
machine is able to find mod_python, when I haven't done either of the
above steps.

Anyway, thanks again!

Jessamyn Smith
Systems Analyst, DataHub Team
Ph: (403) 301-3470
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://mailman.modpython.org/pipermail/mod_python/attachments/20030328/5bbc3796/attachment-0003.bin

More information about the Mod_python mailing list