1. pip 安装mysql-python
>pip install mysql-python
报错:error: Microsoft Visual C++ 9.0 is required. Get it from http:
安装VCForPython27.msi
下载地址VCForPython27.msi
报错:
_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
安装驱动:
MySQL-python-1.2.3.win-amd64-py2.7.exe
MySQL-python-1.2.3.win-amd64-py2.7.exe下载地址
参考:
1.win7的64位python2.7的pip和mysql-python安装