Windows下python27操作mysql模块安装

在安装了python2.7的环境下

进入CMD执行pip install mysql-python

在我的电脑上提示安装失败


缺少VC的一个库,根据提示的网站去下载安装,再次执行:

pip install mysql-python

还是报错:


因为缺少驱动:mysql-python-1.2.3.win-amd64-py2.7.exe

提供两个下载地址:

http://download.csdn.net/detail/weibin0320/6663763

或者 http://www.jb51.net/softs/73369.html#download

安装后再次执行:pip install mysql-python


没有报错,安装成功

猜你喜欢

转载自blog.csdn.net/qq_39796249/article/details/80362382