解决mysqlclient 1.4.0 or newer is required; you have 0.10.0.

解决mysqlclient 1.4.0 or newer is required; you have 0.10.0.

在Django 项目的__init__.py文件中指定版本

import pymysql
pymysql.version_info = (1, 4, 13, 'final', 0)
pymysql.install_as_MySQLdb()

解决mysqlclient 1.4.0 or newer is required; you have 0.10.0._第1张图片

你可能感兴趣的:(python,问题异常)