no module named '_sqlite3' django python 3.9 code example Example: No module named '_sqlite3 sudo apt-get install libsqlite3-dev pip install pysqlite