0

I am trying to install mod_wsgi. I use the command pip install mod_wsgi but i got an error:

    running build_ext
    building 'mod_wsgi.server.mod_wsgi' extension
    error: Unable to find vcvarsall.bat

I try to find the apropriate **mod_wsgi.so** file but I could not found it.

Please Help. Regards, Tomer

Graham Dumpleton
  • 57,726
  • 6
  • 119
  • 134
TomerS
  • 1
  • Possible duplicate of [error: Unable to find vcvarsall.bat](https://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat) – Andrew_Lvov Jun 05 '18 at 12:23

1 Answers1

0

For latest details on what compiler to install for which Python version, if compiling yourself, see

For unofficial precompiled binaries see:

Download the .whl file and then run pip install giving path to the file as argument.

You can then possibly run:

mod_wsgi-express module-config

and it will output what you need to add to the Apache configuration to load mod_wsgi.

Graham Dumpleton
  • 57,726
  • 6
  • 119
  • 134