from _sqlite3 import * code example Example: No module named '_sqlite3 sudo apt-get install libsqlite3-dev pip install pysqlite