title: Cannot Installing mysql-python cannot build or use wheel
body: <p>I am trying to install mysql-python, I have tried two methods in pip</p>
  
  <ol>
  <li><p><code>python -m pip install mysql-python</code></p>
  
  <ul>
  <li>This does not work saying "Failed Building Wheel for MySQL-Python"</li>
  </ul></li>
  <li><p>Downloading the wheels MySQL_python-1.2.5-cp27-none-win_amd64 and MySQL_python-1.2.5-cp27-none-win32 and trying to install each of them separately with the command 
  <code>python -m pip install filename</code></p>
  
  <ul>
  <li>This does not work in each case saying it is "not supported on this platform'</li>
  </ul></li>
  </ol>
  
  <p>Does any one know what is wrong and how I can install mysql-python?</p>
  
  <p><strong><em>Update</em></strong></p>
  
  <p>Since writing this I am still having trouble getting MySQLdb working but have tried a few more things. </p>
  
  <p>1) I am using Python 3.5 mysql-python is for Python 2.x, I should have been trying to install mysqlclient. However I am now having similar issues as above installing mysqlclient both with wheels and with just pip.</p>
  
  <pre><code>&gt; pip install mysqlclient
  
  
  
  
   Collecting mysqlclient
    Using cached mysqlclient-1.3.10.tar.gz
  Installing collected packages: mysqlclient
    Running setup.py install for mysqlclient ... error
      Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\teddy\\appdata\\local\\temp\\pip-build-lhtha0\\mysqlclient\\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\teddy\appdata\local\temp\pip-stnbio-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\compat.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\connections.py -&gt; build\lib.win32-2.7\MySQLdb
      copying MySQLdb\converters.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\CLIENT.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\ER.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\FLAG.py -&gt; build\lib.win32-2.7\MySQLdb\constants
      copying MySQLdb\constants\REFRESH.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\teddy\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,3,10,'final',0) -D__version__=1.3.10 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mysql.c /Fobuild\temp.win32-2.7\Release\_mysql.obj /Zl
      _mysql.c
      _mysql.c(29) : fatal error C1083: Cannot open include file: 'my_config.h': No such file or directory
      error: command 'C:\\Users\\teddy\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
  
      ----------------------------------------
  Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\teddy\\appdata\\local\\temp\\pip-build-lhtha0\\mysqlclient\\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\teddy\appdata\local\temp\pip-stnbio-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\teddy\appdata\local\temp\pip-build-lhtha0\mysqlclient\
  </code></pre>
  
  <p>2) I have tried installing MySQL connector C. This hasn't changed anything.</p>
  
  <p>3) I have tried getting it working on Spyder the IDE that comes with Anaconda</p>
  
  <p>So can anyone suggest anything else</p>