“django.core.exceptions.improperlyconfigur: mysqlclient 1.4.0 ou mais recente é necessário; Você tem 0,10.1.” Respostas de código

django.core.exceptions.improperlyconfigur: mysqlclient 1.4.0 ou mais recente é necessário; Você tem 0,10.1.

 #here is latest version of pymysql in mysqldb.
 #add this settings in settings file
 import pymysql
 pymysql.version_info = (1, 4, 6, 'final', 0)
 pymysql.install_as_MySQLdb()
Colorful Cockroach

levantar -se incorretamente (mySqlClient 1.3.13 ou mais recente; você tem % s. % Database .__ versão__) django.core.exceptions.improperlyconfigur: mysqlclient 1.3.13 ou mais novo; Você tem 0.9.3.

import pymysql
pymysql.version_info = (1, 3, 13, "final", 0)
pymysql.install_as_MySQLdb()
Yucky Yak

Respostas semelhantes a “django.core.exceptions.improperlyconfigur: mysqlclient 1.4.0 ou mais recente é necessário; Você tem 0,10.1.”

Perguntas semelhantes a “django.core.exceptions.improperlyconfigur: mysqlclient 1.4.0 ou mais recente é necessário; Você tem 0,10.1.”

Procure respostas de código populares por idioma

Procurar outros idiomas de código