I am trying to run a python program which I have downloaded. It requires mod_python so I installed the latest version from source.
I am also running Python 2.7 on Ubuntu 12.04.
When I run the python file I get the following error:
from mod_python import apache
File "/usr/local/lib/python2.7/dist-packages/mod_python/apache.py", line 30, in <module>
import _apache
ImportError: No module named _apache
This error seems to be in mod_python and not the program I have downloaded.
Can anyone help me solve this? I have tried installing different versions of mod_python but have still not managed to get it to work.
Thanks