How can I use the FTS5 extension with the sqlite3 python module with Python 3.7 on Ubuntu 16.04?
问题 To test whether the FTS5 extension with the sqlite3 Python module works, I use this code from Vorsprung durch Technik: import sqlite3 conn = sqlite3.connect(':memory:') conn.execute("""create virtual table fts5test using fts5 (data);""") conn.execute("""insert into fts5test (data) values ('this is a test of full-text search');""") conn.execute("""select * from fts5test where data match 'full';""").fetchall() The code works fine on Ubuntu 18.04 and Ubuntu 19.04. For example one can run it via