import sqlite3 throws ModuleNotFoundError _sqlite3 code example Example: No module named '_sqlite3 sudo apt-get install libsqlite3-dev pip install pysqlite