使用Django开发过程中执行python manage.py migrate的时候报以下错误:
raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).
看起来是操作系统自带的sqlite3版本太低,那就从源码编译一个最新的吧
从官网:https://sqlite.org/download.html 找到最新版的链接地址下载
wget https://sqlite.org/2021/sqlite-autoconf-3350200.tar.gz
下载后解压:
tar -xvf sqlite-autoconf-3350200.tar.gz
进入解