[mod_python] ImportError

Gregory (Grisha) Trubetskoy grisha at modpython.org
Sat Nov 1 14:41:44 EST 2003


What is the URL you are accessing, what is the relevant Apache config, and
what's in hello.py?

Grisha

On Sat, 1 Nov 2003, Bert Hughes wrote:

> Hello-
>
> 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
> import_module
>    f, p, d = imp.find_module(parts[i],path)
> [Fri Oct 32 ...] [error] [client 192.168.1.3] 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
> 2.2.
>
> "hello.py" runs just fine with out-of-redhat box apache/mod_python, and
> there's no apparent module named "index" there.
>
> Bert Hughes
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list