This period of time like Python language. So various toss Python languages. Now suddenly want to write some log issues to the database for later analysis, suddenly found that the Python link MySQL has a variety of problems.
First of all, my system is win10 64 bits. To the official website to download the mysql-python-1.2.3 version of the 32-bit source code is not (64 AH). Results in the installation, the first is to find out what is missing C + + compilation environment, follow the official website download, this problem is OK to solve.
Then the installation suddenly found another problem: Error:command ' cl.exe ' failed:no such file or directory
Online search for various, say what the problem of environment variables, so in various folders to find C1.exe file, E:\Program files (x86) \microsoft Visual Studio 10.0\vc\bin put the path into the environment variables, The result is the pit father is still not good ...
Finally emperor, in my constantly looking for the case, finally found a solution. https://www.crifan.com/python_install_module_mysql_mysqldb/here to explain to you in detail how to solve the problem c1.exe can not find.
Thank
This article is from the "Let the past like Smoke" blog, please be sure to keep this source http://kalson.blog.51cto.com/12267030/1951594
Window64 bit installation Mysql-python