Olaf Sweekhorst

robotic - web applications

Rüttenscheider Platz 10
45130 Essen
0201 800 950 24
info@skurrilewelt.de
USt ID DE 228 788 976

Installing mod-wsgi under Win64 and xampp 64bit

Prerequisites:

  • Microsoft Visual C++ Build Tools: https://visualstudio.microsoft.com/visual-cpp-build-tools/
    You will need at least C++ 14.0
  • Python must be installed, in my case it is version 3.10.0 64bit.

Start a command prompt in administrator mode, this is essential.

Type:

$ set MOD_WSGI_APACHE_ROOTDIR=C:/xampp/apache

to point to your apache installation path. Notice the normal backslashes and no quotes.

Install mod-wsgi via pip

$ pip install mod-wsgi

The result should be more or less like this:

Collecting mod-wsgi
Using cached mod_wsgi-4.9.4.tar.gz (497 kB)
Using legacy 'setup.py install' for mod-wsgi, since package 'wheel' is not installed.
Installing collected packages: mod-wsgi
Running setup.py install for mod-wsgi ... done
Successfully installed mod-wsgi-4.9.4

After this you have to edit the httpd.conf