问题复现
- django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).
解决办法
- shell脚本自动升级
# vim SQLite_update.sh
sqlite3 --version
wget https://www.sqlite.org/2019/sqlite-autoconf-3290000.tar.gz
tar -xaf sqlite-autoconf-3290000.tar.gz
cd sqlite-autoconf-3290000/
./configure --prefix=/usr/local/
make && make install
mv /usr/bin/sqlite3 /usr/bin/sqlite3.bak
ln -s /usr/local/bin/sqlite3 /usr/bin/sqlite3
echo export LD_LIBRARY_PATH="/usr/local/lib">> ~/.bashrc
source ~/.bashrc
sqlite3 --version
# chmod +x SQLite_update.sh
# sh SQLite_update.sh
来源:CSDN
作者:Sunny_Future
链接:https://blog.csdn.net/Sunny_Future/article/details/103833005