Django连接mysql django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required;
2017-06-29 13:10
666 查看
系统win7,Python3.6 用Django连接mysql一直报错django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required; you have 0.7.11.None
百度好久没解决 ,不知道在哪看到了一个解决方法 贴出来。
错误
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required; you have 0.7.11.None
通过查找路径C:\Programs\Python\Python36-32\Lib\site-packages\Django-2.0-py3.6.egg\django\db\backends\mysql
这个路径里的文件把
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
注释掉 就行了
百度好久没解决 ,不知道在哪看到了一个解决方法 贴出来。
错误
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required; you have 0.7.11.None
通过查找路径C:\Programs\Python\Python36-32\Lib\site-packages\Django-2.0-py3.6.egg\django\db\backends\mysql
这个路径里的文件把
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
注释掉 就行了
相关文章推荐
- django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required; you have 0.7.11
- macOS使用django安装mysqlclient遇到的问题(mysqlclient 1.3.3 or newer is required)
- Hue 安装问题django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient.so
- 【Django】WIN10安装MySQL-python时遇到403 SSL is required
- 用命令连接mysql , 出现'mysql' is not recognized as an internal or external command错误解决
- 【问题解决:时区】连接MySQL时错误The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
- 第一次navalcat连接oracle数据库Cannot load OCI DLL 87: Instant Client package is required for Basic and TNS c
- 用命令连接mysql , 出现'mysql' is not recognized as an internal or external command错误解决
- linux学习笔记:navicate for mysql连接linux服务器上的mysql出现错误:1130 - Host'ClientIP' is not allowed to connect to
- Python3.4 安装mysqlClient提示 Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).错误的解决
- 连接MySQL时区bug: The server time zone value '�й���ʱ��' is unrecognized or represents more
- django.core.exceptions.ImproperlyConfigured: 'mysql' isn't an available database backend.
- Java 连接hive2 server 通过jdbc 出现了问题 Required field 'client_protocol' is unset! Struct:TOpenSessionReq
- Navicat 连接Oracle时 报错:Instant Client package is required for Baic and TNS connection
- 第一次navalcat连接oracle数据库Cannot load OCI DLL 87: Instant Client package is required for Basic and TNS c
- django.core.exceptions.ImproperlyConfigured: No DjangoTemplates backend is configured.
- mysql连接异常:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zo
- Django连接MySQL数据库时出错:django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No mo
- gradle 2.14.1 or newer is required
- django连接使用Mysql