解決方法:mysql
將報錯文件中的以下代碼註釋:sql
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)ui
解決方法:spa
將報錯文件中的以下代碼註釋:code
if query is not None: query = query.decode(errors='replace')string