FWIW, I have found the best success on windows in a cygwin environment (cygwin's fork() emulation is sufficient for apache prefork worker model too, essentially mirroring a true *nix config with WSGIDaemonProcess). Cygwin python, cygwin apache/libapr/apxs, cygwin build tools (gcc), pip install will autobuild and you just include the module in apache config and it just works(tm).
On Tuesday, May 15, 2018 at 1:47:44 PM UTC-4, Graham Dumpleton wrote: > > > > On 15 May 2018, at 12:38 am, Dan DeBlasio <[email protected] > <javascript:>> wrote: > > hey bud, i have been struggling with this for hours now and i can't figure > anything out from anywhere i've googled and searched and what not. > > I have done pip install mod_wsgi but it keeps giving me lnk2001 errors. > so after installing a bunch of microsoft crap which didn't fix my problem > and searching forever, I found some older versions and I installed version > 4.5.12. This install completed with no errors, which excited me but even > after the install, I'm not able to run mod_wsgi-express. It doesn't > exist. Can I install this manually? > > > I would need to see the link errors to be able to help. > > A few tips. > > Use Python 3.6, don't use Python 2.7. > > Use Apache from www.apachelounge.com, some other Apache distributions are > missing bits that allow you to build third party Apache modules. > > Use 64 bit versions of Apache, Python and MS C compiler. Don't mix 32 bit > and 64 bit. > > Use the exact MS C compiler for the Python version being used. You can > find what they are in: > > https://wiki.python.org/moin/WindowsCompilers > > If possible use an Apache distribution which uses the same MS C compiler. > Using VC15 Apache with VC14 Python and MS C compilers may work, but you do > need to use the VC14 compiler that matches what is required for Python 3.6. > > Graham > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
