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

从阿里云换到了腾讯云,Django 服务开启的时候,遇到了 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 错误。而centos默认安装的是 MariaDB 而不是 mysql,所以卸载了 MariaDB ,但是按照mysql 官网的方法怎么也安装不上,运行 yum install mysql-server ,竟然默认也是安装 MariaDB。那看来 MariaDB 应该没问题,就是Django的问题了。
解决办法如下:
https://stackoverflow.com/questions/55657752/django-installing-mysqlclient-error-mysqlclient-1-3-13-or-newer-is-required

你可能感兴趣的:(django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0....)