Skip to content Skip to sidebar Skip to footer

How To Install Mod_wsgi From Lfd In 2015

How can I install mod_wsgi from lfd website as it has wheel extension.Whenever I am searching how to install mod_wsgi on wamp the resources tell me to install binary from this site

Solution 1:

On the lfd page is a link to:

You may want to read that.

The official mod_wsgi download area has binaries as .so files as explained in that link.

You can still use the whl versions when you work out how to install them, but the .so option does still exist.

Solution 2:

The WHL files from LFD (http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi) DO contain the pre-built WSGI module, but for obscure reasons it is called mod_wsgi.pyd. You can find it in c:/python27/lib/site-packages/mod_wsgi/server/ (or whatever your Python installation or virtual environment path is).

Just rename it to mod_wsgi.so and copy it to the modules directory if Apache.

To get some initial help with setting up the Apache configuration, you may run

c:/python27/Scripts\mod_wsgi-express.exemodule-config

More information about mod_wsgi on Windows and compatibility can be found here: https://github.com/GrahamDumpleton/mod_wsgi/blob/master/win32/README.rst

Post a Comment for "How To Install Mod_wsgi From Lfd In 2015"