First of all download MinGW. You need g++ compiler and MingW make in setup.
If you installed MinGW for example to “C:\MinGW” then add “C:\MinGW\bin” to your PATH in Windows.
Now start your Command Prompt and go the directory where you have your setup.py residing.
Last and most important step:
setup.py install build --compiler=mingw32
提示:gcc: error: unrecognized command line option '-mno-cygwin'.