django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
时间:2019-06-07 19:31:27
收藏:0
阅读:1462
搭建Django2.0+Python3+MySQL8时同步数据库时报错:
解决办法:
找到Python安装路劲下的Python37\Lib\site-packages\django\db\backends\mysql\base.py文件
将文件中的如下代码注释
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
原文:https://www.cnblogs.com/gloriazhang/p/10988839.html
评论(0)