安装如下包
pip3 install pysqlite3
pip3 install pysqlite3-binary
修改django库相应代码
vi /usr/local/python3/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py
# 修改内容
# from sqlite3 import dbapi2 as Database
from pysqlite3 import dbapi2 as Database
:wq