mod_wsgi.so for windows 7 64 bit?

后端 未结 2 1417

Where can I get mod_wsgi.so for windows 7 64 bit?

I have researched around and all point me to http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi

B

2条回答
  •  后悔当初
    2021-02-06 18:45

    I have recently did this set up.. And believe me it was really difficult specially on windows machine...These two reference link helped me to achieve that..

    1. https://beamtic.com/installing-mod-wsgi-apache-windows
    2. https://groups.google.com/forum/#!topic/modwsgi/RVD1hIxb2eI

    In short:

    1. Install Python 3.x
    2. Download Microsoft Visual C++ Build Tool compatible to python version that you have been using.
    3. Run this command -> mod_wsgi-express module-config
    4. Once you run this command it will give you some output. In my case it was:

      LoadFile "f:/anaconda_3_32_bit/python37.dll" LoadModule wsgi_module "f:/anaconda_3_32_bit/lib/sitepackages/mod_wsgi/server/mod_wsgi.cp37-win32.pyd" WSGIPythonHome "f:/anaconda_3_32_bit"

    5. Paste this configuration as it is in httpd.conf file, for apache web server.. Do not change anything at all

    And you are done !! Hope it'll help someone :)

提交回复
热议问题