- 论坛徽章:
- 0
|
我按网上的教程配了一下,在运行时,出现以下错误
- MOD_PYTHON ERROR
- ProcessId: 3104
- Interpreter: 'py.com'
- ServerName: 'py.com'
- DocumentRoot: 'E:/Web/python/app/'
- URI: '/index.py'
- Location: None
- Directory: 'E:/Web/python/app/'
- Filename: 'E:/Web/python/app/index.py'
- PathInfo: ''
- Phase: 'PythonHandler'
- Handler: 'app'
- Traceback (most recent call last):
- File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 1537, in HandlerDispatch
- default=default_handler, arg=req, silent=hlist.silent)
- File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 1202, in _process_target
- module = import_module(module_name, path=path)
- File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 304, in import_module
- return __import__(module_name, {}, {}, ['*'])
- ImportError: No module named app
复制代码
很郁闷,怎么样让APACHE支持Python呢? 怎么样用Django呢?
[ 本帖最后由 yabaxx 于 2008-9-11 10:47 编辑 ] |
|