module 'pymysql' has no attribute 'escape_string'
知识货栈
编辑于 2023年04月18日 09:21

错误信息

解决方法

pymysql.escape_string() 修改为 pymysql.converters.escape_string()

原因

pymysql更新到了1.0版本。