解决方法:
vi /etc/yum.repos.d/base.repo
然后添加如下信息:
#generic-repos is licensed under the Mulan PSL v2.
#You can use this software according to the t
解决办法:找到python安装目录下的site-packages/django/db/backends/mysql
例如我的win下
C:\Python37\Lib\site-packages\django\db\backends\mysql(python安装目录)
第一步:打开base.py,先注释掉以