0 0

No module named django.core.handlers.modpython5

配置apache mod_python 出错,google很久也没有找到问题。

环境是
引用
windows xp
apache2.2
python2.5.2
django0.97pre
mod_python-3.3.1.win32-py2.5-Apache2.2.exe


引用
MOD_PYTHON ERROR

ProcessId:      1812
Interpreter:    'www.xxx.com'

ServerName:     'www.xxx.com'
DocumentRoot:   'E:/soft/python'

URI:            '/'
Location:       '/'
Directory:      None
Filename:       'E:/soft/python/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "E:\python\Lib\site-packages\mod_python\importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "E:\python\Lib\site-packages\mod_python\importer.py", line 1202, in _process_target
    module = import_module(module_name, path=path)

  File "E:\python\Lib\site-packages\mod_python\importer.py", line 304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named django.core.handlers.modpython
2008年8月07日 21:43
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics