ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 解决办法
2020-02-01 10:25
645 查看
ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 解决办法
这个问题也是由于版本问题导致,具体情况往下看
打开终端输入 sudo vim + 刚复制的路径
[code]sudo vim /home/pyvip/.virtualenvs/django_st/lib/python3.6/site-packages/django/db/backends/mysql/base.py
注释两行代码
保存退出
再启动 django 服务,不会报错咯,搞成
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- win10 下 django2.2生成mysql数据迁移文件出错(mysqlclient 1.3.13 or newer is required; you have 0.9.3)解决方法
- Django中使用mysqlclent服务报错:mysqlclient 1.3.13 or newer is required; you have 0.9.3.
- django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
- django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3
- Django将数据库切换为Mysql及mysqlclient 1.3.13 or newer is required; you have 0.9.2报错解决方案
- django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required; you have 0.7.11
- Django连接mysql django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.3 or newer is required;
- 解决 Django 的 if version (1, 3, 3): raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is requi
- macOS使用django安装mysqlclient遇到的问题(mysqlclient 1.3.3 or newer is required)
- SessionFactory or HibernateTemplate is required 的解决办法
- 解决mysql 添加插件时提示 ERROR 1289 (HY000): The ‘plugin’ feature is disabled; you need MySQL built with ‘HAVE_DLOPEN&#
- 关于使用DBeaver连接MySQL出现The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or问题的解决办法
- Python3.4 安装mysqlClient提示 Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).错误的解决
- 解决The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- 解决 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- 关于Client Library is missing or invalid.的解决办法
- Warning:The /usr/local/mysql/data directory is not owned by the 'mysql' or '_mysql'的解决办法
- 解决 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working
- 启动IntelliJ IDEA 2016报错:cannot start under Java 1.7 : Java 1.8 or later is required 解决办法
- 启动IntelliJ IDEA 2016报错:cannot start under Java 1.7 : Java 1.8 or later is required 解决办法