[mod_python] ImportError

Bert Hughes bert at tela.com
Sat Nov 1 09:00:59 EST 2003


I've been attempting to upgrade my Apache/mod_python setup w/o success.  I
run the "hello.py/say"
example and the following message appears in apache's 'error_log':


File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 493, in
   f, p, d = imp.find_module(parts[i],path)
[Fri Oct 32 ...] [error] [client] PythonHandler
mod_python.publisher: ImportError: No module named index

Currently I'm trying

Apache 2.047
Python 2.3.2
mod_python 3.1.2b

but I've gotten same result with combintaions of mod_python 3.0.3, python

"hello.py" runs just fine with out-of-redhat box apache/mod_python, and
there's no apparent module named "index" there.

Bert Hughes

More information about the Mod_python mailing list