I am trying to roll out a production Django environment on Windows 10 with Apache 2.4.37 x64 OpenSSL 1.1.1 VC14 from ApacheHaus. However, when following these instructions,
I had similar error on Windows Server 2016, when trying to use Apache 2.4 64bit with Python 2.7. Apparently apr header files were missing. I was able to solve it by:
pip install mod_wsgi
(inside my virtual environment).You can download the missing file from Github and copy it in the directory
C:/Apache24/include
The distribution from The Apache Haus does not include the aforementioned header file for some strange reason. Try using the distribution from Apache Lounge, it should contain all header files needed to compile mod_wsgi (tested with httpd-2.4.41-win32-VS16.zip).