mysqlclient 1.4.0 or newer is required; you have 0.10.0

https://www.cnblogs.com/jingzaixin/p/13585511.html

 

参考网址:https://www.cnblogs.com/meml/p/13579831.html

 

解决:在工程文件的__init__.py中加上 指定版本

import  pymysql
pymysql.version_info = (1, 4, 13, "final", 0) #指定版本
pymysql.install_as_MySQLdb()
posted @ 2020-09-09 15:26  shiningrise  阅读(1209)  评论(0)    收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css