2 devilzy2656 devilzy2656 于 2014.10.16 08:41 提问

安装成功之后,启动Apache后访问不了Django项目

环境:Centos+Apache2.2+mod_python3.5+python2.7

[Thu Oct 16 08:31:48 2014] [notice] caught SIGTERM, shutting down
[Thu Oct 16 08:31:48 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 16 08:31:48 2014] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 16 08:31:48 2014] [notice] Digest: done
[Thu Oct 16 08:31:48 2014] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Thu Oct 16 08:31:48 2014] [notice] mod_python: using mutex_directory /tmp
[Thu Oct 16 08:31:48 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_python/3.5.0- Python/2.7.8 configured -- resuming normal operations
ImportError: No module named site

查看Apache日志错误如上;
我觉得问题在这里:ImportError: No module named site
但是正常只应用python的Django服务器是正常的;请问是我哪里设置有问题么?
不知道有没有人遇到同样的问题?

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!