python3.5 has been installed.
1, Installation flask:
Pip Install flask
2. Install Apache:
Apache is open source software for Windows environments, and it does not directly provide a compiled version.
You can download the appropriate version of your environment in http://www.apachelounge.com/download/. Based on my own current environment, I chose Win32 VC10 compiled Apache2.4 version
Download the package to this computer, and then copy the Apache24 folder inside the compressed package to C: \.
Of course, you can copy to any location on your system, but Apache's default configuration is C:\Apache24.
If you run IIS on this computer, turn it off. Because IIS and Apache both use port 80 by default. If you want to configure other ports, I'm sure it's not hard. Wait until the flask has been successfully deployed. Open CMD:>CD \ c \ with Administrator
>CD apache24\bin\
Httpd-k install-n "Apache2.4"
Httpd-k start
Such as:
Start Apache encountered error: Httpd:could not reliably determine the server ' s fully qualified domain name
Edit the httpd.conf file, search for "#ServerName", add ServerName localhost:80
Flask+mod_wsgi+apache the deployment on Windows