安装mod_wsgi时出现问题

时间:2019-03-31 16:17:11

标签: python mod-wsgi

你好,我有一个问题

我正在尝试安装mod_wsgi,并且发生了这种情况:

Collecting mod_wsgi
  Using cached https://files.pythonhosted.org/packages/47/69/5139588686eb40053f8355eba1fe18a8bee94dc3efc4e36720c73e07471a/mod_wsgi-4.6.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\myname\AppData\Local\Temp\pip-install-cpq5_uif\mod-wsgi\setup.py", line 158, in <module>
        raise RuntimeError('No Apache installation can be found. Set the '
    RuntimeError: No Apache installation can be found. Set the MOD_WSGI_APACHE_ROOTDIR environment to its location.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\myname\AppData\Local\Temp\pip-install-cpq5_uif\mod-wsgi

这是我输入的内容:

  1. set "MOD_WSGI_APACHE_ROOTDIR=C:\wamp64\bin\apache\apache2.4.27"

    错误:no error

  2. pip install mod_wsgi==4.5.20

错误:the big error what i showed up there

感谢您的回答。

0 个答案:

没有答案