votes up 2

SQLite 3.9.0 or later is required (found %s).

github stars 59414
Exception Class:

Raise code

""" provided function to the data.
    return type('ListAggregate', (list,), {'finalize': function, 'step': list.append})

def check_sqlite_version():
    if Database.sqlite_version_info < (3, 9, 0):
        raise ImproperlyConfigured(
            'SQLite 3.9.0 or later is required (found %s).' % Database.sqlite_version


Database.register_converter("bool", b'1'.__eq__)
😲 Agile task management is now easier than calling a taxi. #Tracklify

Ways to fix

votes up 1 votes down

First of all, check which version of SQLite Python is using:

$ python
Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> sqlite3.sqlite_version

# Or alternative way (USED by Django itself to drop exception):
>>> from sqlite3 import dbapi2 as Database
>>> Database.sqlite_version_info
(3, 31, 1)

Since SQLite version is compiled into Python itself, we recommend just to install fresh version of Python and also using pipenv.

Jun 22, 2021 ivan answer
ivan 110

Add a possible fix

Please authorize to post fix