|
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 127.0.0.1] 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:
"/usr/lib/python2.5/site-packages"')
import mod_python
|