The above word frame is not introduced, check a bit, under win, the above collocation is more recommended. And in Linux, the comparison recommended is Flask+gunicorn. At present, the main server is win, so first of all, I have to record the process of configuring the environment on win, to be left behind to look back.
Because it is on win, several frameworks have to be compiled first, and are compiled with the same version of the compiler, and the number of digits should be consistent (I am using the Win32 bit). These are all online said, I went to try, my is python2.7.13 x86,apache2.4.27 x86 vc9,mod_wsgi-py27-vc9 x86, install Python I don't say, now say install Apache. In fact, say is installed, it is not as direct as to start. Pick a mod_wsgi with the compiler to compile the Apache download Download, and then if you are not placed in the C-packing directory, you will go to conf/hpptd.conf to change the service path, the default is C:/apache24. After the change, go directly to the Apache/bin to start httpd OK. Starting with command line 1 is OK, and double-clicking is OK.
This thing started up and that's it, without any feedback. Double-click Start also, directly to a black window, nothing displayed. But the service has been started. Then the visit to localhost the Apache home page shows that the launch was successful. And then stop the service I was directly fork off the black window. Personally feel very bad experience.
Then copy and paste the Mod_wsgi module into the Apache/modules folder, and then configure it in Apache conf/httpd.conf:
And then start. I encountered a mistake saying that the module could not be loaded. Then check it out, it's the wrong version. I also downloaded a corresponding Apache version of the binary file, and then replace the original file, and then start the error has not been.