Hello everyone,
I'm trying to run mod-python on Debian 3.1. I'm using an unofficial Debian package of mod-python 3.1.3.
Python2.4, Python2.3, and Apache2 have been installed. Apache2 has been configured to accept the python pages. When I type "python" at the command line, I get python2.3. If I type "python2.4" at the command line, I get python2.4 (duh

)
As far as I can tell, everything is in place for mod-python. Mod_python.load is in /etc/apache2/mod-enabled. That refers apache to /usr/lib/apache2/modules/mod_python.so, which is also in place. Apache has also been configured to accept python pages.
Unfortunately, whenever I try to access a python page, I get "500:Internal server error". Error.log says:
[Wed Feb 22 22:46:09 2006] [error] make_obcallback: could not import mod_python.apache.\n
On startup, I get the following in error.log:
[Wed Feb 22 22:24:37 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 configured -- resuming normal operations.
I have tirelessly searched messageboards and eaten all of Google's bandwith trying to find a solution.

The only thing that seems out of place to me is the fact that Apache is (apparently) loading Python 2.3.5 instead of python 2.4. However, I don't know how to make Apache load python2.4 instead.
If I type "import apache" at the python2.4 command line, I get:
Traceback (most recent call last):
File "<stdin>", line 1 in ?
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 28, in ?
import _apache
ImportError: No module named _apache
Any help would be greatly appreciated.