报错 |
环境 |
解决 |
手动安装pip install mysqlclient 报错: _mysql.c(29) : fatal error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory no module named MySQLdb |
win7 py2.7 |
下载https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient 安装pip install mysqlclient?1.4.2?cp27?cp27m?win_amd64.whl PS:模块mysqlclient和MySQl-python只能装一个,否则查找不到MySQLdb |
原文地址:https://www.cnblogs.com/kevincaptain/p/10431510.html
时间: 2024-09-29 22:08:42