sqlite3.OperationalError: no such function: JSON_VALID

发布时间 2023-07-18 11:01:01作者: VipSoft
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