【发布时间】:2021-12-17 12:01:41
【问题描述】:
在我的 Django 项目“python manage.py migrate”中运行此命令时收到以下错误消息如何在 CentOS 7 x64bit 上升级到更高版本的 SQLite?
Error:
SQLite 3.9.0 or later is required (found %s).' % Database.sqlite_version
django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.1 7).
#python -V
Python 3.6.8
# sqlite3 --version
3.7.17 2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668
# uname -a
3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# python3 -c "import django; print(django.get_version())"
3.2.9
# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
【问题讨论】:
标签: python-3.x django sqlite