title: Error while installing MySQL-python
body: <p>I'm using Python 2.7 and Django 1.9.4. I want to integrate my Django application with MySQL 5.7 database and I executed:</p>
  
  <pre><code>pip install MySQL-python
  </code></pre>
  
  <p>on Windows 7 machine 64-bit. </p>
  
  <p>And getting Error :</p>
  
  <pre><code>    F:\Djangoproject\mysite&gt;pip install MySQL-python
  Collecting MySQL-python
    Using cached MySQL-python-1.2.5.zip
  Building wheels for collected packages: MySQL-python
    Running setup.py bdist_wheel for MySQL-python ... error
    Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\chandra\\appdata\\local\\temp\\pip-build
  -3qbbxo\\MySQL-python\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__
  , 'exec'))" bdist_wheel -d c:\users\chandra\appdata\local\temp\tmpoytuplpip-wheel- --python-tag cp27:
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win32-2.7
    copying _mysql_exceptions.py -&gt; build\lib.win32-2.7
    creating build\lib.win32-2.7\MySQLdb
    copying MySQLdb\__init__.py -&gt; build\lib.win32-2.7\MySQLdb
    copying MySQLdb\converters.py -&gt; build\lib.win32-2.7\MySQLdb
    copying MySQLdb\connections.py -&gt; build\lib.win32-2.7\MySQLdb
    copying MySQLdb\cursors.py -&gt; build\lib.win32-2.7\MySQLdb
    copying MySQLdb\release.py -&gt; build\lib.win32-2.7\MySQLdb
    copying MySQLdb\times.py -&gt; build\lib.win32-2.7\MySQLdb
    creating build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\__init__.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\CR.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\FIELD_TYPE.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\ER.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\FLAG.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\REFRESH.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    copying MySQLdb\constants\CLIENT.py -&gt; build\lib.win32-2.7\MySQLdb\constants
    running build_ext
    building '_mysql' extension
    creating build\temp.win32-2.7
    creating build\temp.win32-2.7\Release
    C:\Users\Chandra\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Dversion_info
  =(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mys
  ql.c /Fobuild\temp.win32-2.7\Release\_mysql.obj /Zl
    _mysql.c
    _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
    error: command 'C:\\Users\\Chandra\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit statu
  s 2
  
    ----------------------------------------
    Failed building wheel for MySQL-python
    Running setup.py clean for MySQL-python
  Failed to build MySQL-python
  Installing collected packages: MySQL-python
    Running setup.py install for MySQL-python ... error
      Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\chandra\\appdata\\local\\temp\\pip-bui
  ld-3qbbxo\\MySQL-python\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file
  __, 'exec'))" install --record c:\users\chandra\appdata\local\temp\pip-rskyc7-record\install-record.txt --single-version-externally-managed --compile:
  
      running install
      running build
      running build_py
      creating build
      creating build\lib.win32-2.7
      copying _mysql_exceptions.py -&gt; build\lib.win32-2.7
      creating build\lib.win32-2.7\MySQLdb
      copying MySQLdb\__init__.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\converters.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\connections.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\cursors.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\release.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\times.py -&gt; build\lib.win32-2.7\MySQLdb
      creating build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\__init__.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\CR.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\FIELD_TYPE.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\ER.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\FLAG.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\REFRESH.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\CLIENT.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      running build_ext
      building '_mysql' extension
      creating build\temp.win32-2.7
      creating build\temp.win32-2.7\Release
      C:\Users\Chandra\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Dversion_in
  fo=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -Ic:\python27\include -Ic:\python27\PC /Tc_m
  ysql.c /Fobuild\temp.win32-2.7\Release\_mysql.obj /Zl
      _mysql.c
      _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
      error: command 'C:\\Users\\Chandra\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit sta
  tus 2
  
      ----------------------------------------
  Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\chandra\\appdata\\local\\temp\\pip-build-3qbbxo\\MySQL-python\
  \setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
  record c:\users\chandra\appdata\local\temp\pip-rskyc7-record\install-record.txt --single-version-externally-managed --compile" failed with error code
  1 in c:\users\chandra\appdata\local\temp\pip-build-3qbbxo\MySQL-python\
  </code></pre>