django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).解决办法


问题复现

  • 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

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/290661.html

(0)
上一篇 2022年10月6日
下一篇 2022年10月6日

相关推荐

发表回复

登录后才能评论