在 Windows 中安装mod_wsgi时出现问题。RuntimeError:找不到 Apache 安装

Problems installing mod_wsgi in windows. RuntimeError: No Apache installation can be found

提问人:Tinashe Mphisa 提问时间:9/19/2023 更新时间:9/19/2023 访问量:22

问:

我正在尝试使用 XAMPP 部署 Django 项目窗口,但在安装mod_wsgi阶段出现此错误:

RuntimeError: No Apache installation can be found. Set the MOD_WSGI_APACHE_ROOTDIR environment to its location. 

这是我设置的命令结果: 问题是我已经将MOD_WSGI_APACHE_ROOTDIR设置为“c:\xampp\apache”

HOMEPATH=\Users\Ultimate
LOCALAPPDATA=C:\Users\Ultimate\AppData\Local
LOGONSERVER=\\HEALNSERVER
MOD_WSGI_APACHE_ROOTDIR = "c:\xampp\apache" 

here is a screenshot

here is another here is the last one

python-3.x windows apache mod-wsgi django-deployment

评论


答: 暂无答案