BUG-django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).

原先的基础环境:基本上安装好所需的所有依赖包

BUG-django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17)._第1张图片

[notice] A new release of pip available: 22.1.2 -> 23.0.1

[notice] To update, run: pip install --upgrade pip

pip太久没用升级:pip3 install --upgrade pip

一开始是出现这样的:

django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).

1.尝试的解决方法1.下载了新的包,安装更换路径

参考:https://blog.csdn.net/zhongliang415/article/details/117516050

没用

下载并安装好后出现这个bug,版本等级还是不够

django.db.utils.NotSupportedError: deterministic=True requires SQLite 3.8.3 or higher

2.尝试的解决方法2:下载pysqlite3

参考:https://blog.csdn.net/ldq_sd/article/details/123850041

http://www.manongjc.com/detail/40-hethoasvmwvqyhn.html

BUG-django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17)._第2张图片

没用

最后卸载了django==4.0.5,重新下载了django==2.2.5

pip3 uninstall django

pip3 install django==2.2.5

BUG-django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17)._第3张图片

终于不再提示需要更高版本的SQLite3

解决

你可能感兴趣的:(bug)