[mod_python] Win32 Installs: import _apache

George Harrison gharris at centauri.mb.ca
Wed Aug 7 00:22:33 EST 2002


Sorry for the length of this post, but this is a list of the mod-python 
folder in my Python22 directory. This is working as far as responding 
"Hello World". On my installation, the .py files were not in the root of 
mod_python, and until I moved them, I was getting the same sort of errors 
as you are reporting.

I don't know enough about either python or apache to explain why these 
work, and I kind of forget where the files were after the install, so YMMV.

gh

TreePrint listing of: D:\Program Files\python22\Lib\mod_python

D:\Program Files\python22\Lib\mod_python
|   COPYRIGHT
|   CREDITS
|   Makefile.in
|   NEWS
|   README
|   configure
|   configure.in
|   install-sh
|   __init__.py
|   apache.py
|   cgihandler.py
|   httpdapi.py
|   publisher.py
|   util.py
|   zhandler.py
|   __init__.pyc
|   apache.pyc
|
+---doc-html
....html files
|   \---icons
|           icons2
|           up.gif
|           previous.png
|           previous.gif
|           next.png
|           next.gif
|           modules.png
|           modules.gif
|           index.png
|           index.gif
|           contents.png
|           contents.gif
|           blank.png
|           up.png
|           blank.gif
|
+---src
|       Makefile.in
|       Makefile.libdir
|       Makefile.tmpl
|       Version.rc
|       _apachemodule.c
|       arrayobject.c
|       connobject.c
|       libpython.module.in
|       mod_python.c
|       mod_python.dsp
|       mod_python.mak
|       requestobject.c
|       serverobject.c
|       tableobject.c
|       util.c
|
\---Doc
        ...tex files



>[Tue Aug 06 10:03:35 2002] [error] [client 172.17.1.39]   File "C:\program
>files\python22\lib\mod_python\apache.py", line 55, in ?
>[Tue Aug 06 10:03:35 2002] [error] [client 172.17.1.39]     import _apache
>[Tue Aug 06 10:03:35 2002] [error] [client 172.17.1.39] ImportError: No
>module named _apache




More information about the Mod_python mailing list