Im a trying (hard) to set up environment for Django app on Windows with XAMPP.
What I have:
- Windows 7 64bit
- Apache/2.4.25 (Win32)
- Python 3.6.1
platform.architecture() = ('64bit', 'WindowsPE') - Cygwin 2.9.0(0.318/5/3)
MOD_WSGI_APACHE_ROOTDIRpointing toapachedir in XAMPP installation
What I did already:
Tried to install with pip install mod_wsgi but it didn't work because apxs could not be found. So I've installed httpd-devel in Cygwin. Now it rises collect2: error: ld returned 1 exit status error with massive output that I can't understand.
According to this, I've downloaded WHL file, exctracted PYD file but when I want to run Apache I get syntax error on LoadModule wsgi_module modules/mod_wsgi.pyd: Cannot load modules/mod_wsgi.pyd into server: The specified module could not be found.. I've tried 3 versions of WHL.
I'm new to Python/Django and WSGI and I'm already done ;-)