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

It is given to build Django2.0 + Python3 + MySQL8 synchronize database:

Solution:

Find Python37 \ Lib \ site-packages \ django \ db \ backends \ mysql \ base.py files in Python installed Road King

The following code file annotations

if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)

 

Guess you like

Origin www.cnblogs.com/gloriazhang/p/10988839.html