When running
$ pip install mysql-python
I'm getting the following error
> _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
> error: command C:\\Users\\Henry\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
I take this to mean it cannot find 'config-win.h' on my pc but it is on the pc within in the directory c:\Program Files\MySQL\MySQL Connector C 6.0.2\include
Can someone advice me what I've got wrong:
- Do I need to add this to my path?
- Does I need to get this into the Program Files (x86) structure instead
I tried using the approach suggested by Dominic but found a couple of mods needs to make it work