解决 centerOS7部署ajango2.2.x版本 报SQLite 3.8.3 or later is required (found 3.7.17).错误

    xiaoxiao2022-07-04  111

    检查sqlite3的版本信息 sqlite3 --version 必须安装3.8.x及以上版本才可以解决。

    centerOS中升级sqllite3

    #获取源代码(在主目录中运行) [root@djangoServer ~]# cd ~ [root@djangoServer ~]# wget https://www.sqlite.org/2019/sqlite-autoconf-3270200.tar.gz [root@djangoServer ~]# tar -zxvf sqlite-autoconf-3270200.tar.gz #构建并安装 [root@djangoServer ~]# cd sqlite-autoconf-3270200 [root@djangoServer sqlite-autoconf-3270200]# ./configure --prefix=/usr/local [root@djangoServer sqlite-autoconf-3270200]# make && make install [root@djangoServer sqlite-autoconf-3270200]# find /usr/ -name sqlite3 /usr/bin/sqlite3 /usr/lib64/python2.7/sqlite3 /usr/local/bin/sqlite3 /usr/local/python3/lib/python3.7/site-packages/django/db/backends/sqlite3 /usr/local/python3/lib/python3.7/sqlite3 [root@djangoServer sqlite-aut
    最新回复(0)