分享编程中的小技巧 运行报一下的错 解决方法 在init.py中加入一下代码 代码 import pymysql pymysql.version_info = (1, 4, 13, "final", 0) pymysql.install_as_MySQLdb()