Manuzhai
manuzhai at gmail.com
Thu Aug 11 06:47:01 EDT 2005
Hi there, This morning, I got fed up with having to install modules in two different site-packages dirs, so I wanted to switch over mod_python to the installed python 2.4 instead of it using the older python 2.3 I also have hanging around. In order to do this (I am on Gentoo) I just re-emerged mod_python (3.1.3), then restarted apache2. Somewhat surprisingly, I am now getting a 500 Internal Server Error (this is with PythonDebug On) for anything having to do with mod_python (I tried the example from the docs). Looking in the error_logs gives me this: [Thu Aug 11 10:44:30 2005] [error] make_obcallback: could not import mod_python.apache.\n ImportError: No module named mod_python.apache ImportError: No module named mod_python.apache ImportError: No module named mod_python.apache [Thu Aug 11 10:44:30 2005] [error] make_obcallback: could not import mod_python.apache.\n ImportError: No module named mod_python.apache [Thu Aug 11 10:44:30 2005] [error] make_obcallback: could not import mod_python.apache.\n [Thu Aug 11 10:44:30 2005] [error] make_obcallback: could not import mod_python.apache.\n But, I made sure the mod_python dir (with apache.py[co]) is in both /usr/lib/python2.3/site-packages and /usr/lib/python2.4/site-packages (where it should check). Any tips on what to try next? Regards, Manuzhai
|