Solution: add the specified version to the __init__.py of the project file
import pymysql
pymysql.version_info = (1, 4, 13, “final”, 0)
#Specify the version pymysql.install_as_MySQLdb()
Solution: add the specified version to the __init__.py of the project file
import pymysql
pymysql.version_info = (1, 4, 13, “final”, 0)
#Specify the version pymysql.install_as_MySQLdb()