标签:img href net tail require except ges cli raise
转自 https://blog.csdn.net/weixin_45476498/article/details/100098297
创建app是报错
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.2
解决办法:
C:\Python37\Lib\site-packages\django\db\backends\mysql(python安装目录)打开base.py,注释掉以下内容:
if version < (1, 3, 13): raise ImproperlyConfigured(‘mysqlclient 1.3.13 or newer is required; you have %s.’ % Database.version)
解决办法:
打开此文件把146行的decode修改为encode
改成如下
标签:img href net tail require except ges cli raise
原文地址:https://www.cnblogs.com/freedom0923/p/13036498.html