当我尝试运行以下命令时,我无法在 Windows 上安装 mod_wsgi:
pip install mod_wsgi
它说-
Collecting mod-wsgi
Using cached mod_wsgi-4.4.14.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "c:\users\aditya\appdata\local\temp\pip-build-ffaywu\mod-wsgi\setup.p
y", line 139, in <module>
'missing Apache httpd server packages.' % APXS)
RuntimeError: The 'apxs' command appears not to be installed or is not
executable. Please check the list of prerequisites in the documentation
for this package and install any missing Apache httpd server packages.
它缺少apxs,这在我的默认 apache 安装中不存在。我如何获得这个 apxs ?有没有其他方法可以安装 apache 然后将 mod_wsgi 安装到 python 安装中?
编辑 - 我什至尝试过 pip install mod_wsgi-httpd,但它不像它所说的那样工作 -
Failed to build APR.