django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 1.3.1

Djanggo 运行报错:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 1.3.10.

解决办法:

1、Uninstall mysqlclient: pip3 uninstall mysqlclient
2、Uninstall pymysql: pip3 uninstall pymysql
3、Install mysqlclient: pip3 install mysqlclient

刷新网页即可

上一篇:JAVA-获取内存和系统类型


下一篇:python str.startswith()