Command:
Pip Install Mysql-python
Error:
_MYSQL.C: Fatal error C1083:cannot open include file: ' Config-win.h ': No such file or Directoryerror:command ' c:\\p Rogram Files (x86) \\Common files\\microsoft\\visual C + + for Python\\9.0\\vc\\bin\\cl.exe ' failed with exit status 2
Environment:
os:win7-64bitpython:2.7.9
Solution:
Download the corresponding file here
Http://www.codegood.com/downloads
There is files, weighing 7.9 MiB in total .
Displaying 1 to one of the files.
Mysql-python for Windows Distributions
Mysql-python-1.2.2.win-amd64-py2.5.rar
? 862.5 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.5
Mysql-python-1.2.2.win-amd64-py2.6.exe
? 1.0 Mib-may 2, 2009
MySQLdb for Windows and Python 2.6
Mysql-python-1.2.2.win32-py2.6.exe
? 1,022.8 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.6
Mysql-python-1.2.3.win-amd64-py2.7.exe
? 1.0 Mib-september 19, 2010
MySQLdb 1.2.3 for Windows and Python 2.7
Mysql-python-1.2.3.win32-py2.7.exe
? 1,023.1 Kib-september 19, 2010
MySQLdb 1.2.3 for Windows and Python 2.7
Mysql-python-1.2.3c1.win-amd64-py2.6.exe
? 1.0 Mib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python
Mysql-python-1.2.3c1.win32-py2.6.exe
? 1,023.2 Kib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python 2.6
Mysql-python-embedded-1.2.2.win-amd64-py2.6.exe
? 261.0 Kib-may 2, 2009
MySQLdb 1.2.2 for Windows and Python 2.6, Embedded Server
Mysql-python-embedded-1.2.2.win32-py2.6.exe
? 231.9 Kib-may 3, 2009
MySQLdb 1.2.2 for Windows and Python 2.6, Embedded Server.
Mysql-python-embedded-1.2.3c1.win-amd64-py2.6.exe
? 261.4 Kib-may 2, 2009
MySQLdb 1.2.3c1 for Windows and Python bit, Embedded Server
Mysql-python-embedded-1.2.3c1.win32-py2.6.exe
? 232.3 Kib-may 3, 2009
MySQLdb 1.2.3c1 for Windows and Python 2.6, Embedded Server.
Effect:
Pip install mysql-pythonrequirement already satisfied (use--upgrade to upgrade): Mysql-python in C:\python27\lib\site-pa Ckagescleaning up ...
Solve the problem of Python under PIP install Mysql-python failure