2015-10-03 19 views
6

jestem w stanie zainstalować mod_wsgi na oknach, gdy próbuję uruchomić następujące polecenie:Jak zainstalować mod_wsgi jako python w instalacji Pythona?

pip install mod_wsgi 

To powiada

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. 

Jest brakuje apxs, który nie jest obecny w moja domyślna instalacja apache. Jak uzyskać ten apxs? Czy istnieje inny sposób instalacji apache, a następnie mod_wsgi w instalacji Pythona?

EDIT - Próbowałem nawet pip zainstalować mod_wsgi-httpd, ale to nie działa jak to powiada

Failed to build APR. 

Odpowiedz

Powiązane problemy