出現(xiàn)問題:
>pip install MySQL-python
_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft\Visual C ++ for Python\9.0\VC\Bin\amd64\cl.exe"' failed with exit status 2
解決方法:
在http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python下載對應(yīng)的包版本亿絮。
然后在命令行執(zhí)行
pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl