sqlite3.OperationalError: no such function: JSON_VALID

Initializing database..
Traceback (most recent call last):
  File "d:\program files\python38\lib\site-packages\django\db\backends\utils.py", line 82, in _execute
    return self.cursor.execute(sql)
  File "d:\program files\python38\lib\site-packages\django\db\backends\sqlite3\base.py", line 421, in execute
    return Database.Cursor.execute(self, query)
sqlite3.OperationalError: no such function: JSON_VALID

The above exception was the direct cause of the following exception:

image
官网下载:https://www.sqlite.org/download.html
image
将 sqlite3.dll 进行替换
image
再次运行
image

posted @ 2023-07-20 16:45  VipSoft  阅读(477)  评论(0编辑  收藏  举报