To use Django for project development recently, you need to use the Mysql-python module.
In the local installation of the environment when the error occurred,unable to find Vcvarsall.bat
Find a lot of information on the Internet, found that the window platform itself without the compilation system, and installation Mysql-python need to compile. The online approach is to install vs2008 or MinGW, which is very troublesome. Then I finally found another super-simple way.
Originally a foreign university-University of California, Irvine, Christoph Gohlke provides a large number of Python unofficial plug-in Module installation package: Direct download with PIP installation is possible.
Here is the link address, sincere thanks to foreigners.
www.lfd.uci.edu/~gohlke/pythonlibs/
Open Web site Find Mysql-python module
Select a fourth WHL file. Due to the slow download speed, here is my link
Open cmd in file location, run pip install MYSQL_PYTHON?1.2.5?CP27?NONE?WIN_AMD64.WHL
You will be prompted to install successfully without an accident.
Win7 64 installation Mysql-python Error resolution