[mod_python] HELP needed for Mod_python & Apache on a Win XP machine

syahreza octadian syahreza.octadian at gmail.com
Tue Mar 18 21:33:17 EDT 2008

  Joseph Sliz wrote:
"The message I get in the server error log is as follows: 

ImportError: No module named mod_python.apache

[Tue Mar 18 12:11:04 2008] [error] make_obcallback: Python path being 
used "['C:\\\\Python24\\\\python24.zip', '.\\\\DLLs', '.\\\\lib', 
'.\\\\lib\\\\plat-win', '.\\\\lib\\\\lib-tk', 'C:\\\\Program 
Files\\\\Apache Software Foundation\\\\Apache2.2\\\\bin']".

[Tue Mar 18 12:11:04 2008] [error] get_interpreter: no interpreter 
callback found.

[Tue Mar 18 12:11:04 2008] [error] [client] python_handler: 
Can't get/create interpreter

from the error it seem your python cannot find the library.
if you try to import with console if there some error??

if there is error you can use this before import mod_python

import sys

sys.path.append('your python library sample: 
import mod_python

More information about the Mod_python mailing list