ModuleNotFoundError: No module named 'pysqlite2'

getting the ModuleNotFoundError: No module named ‘pysqlite2’ error when running jupyter lab

1 Like

That is a fallback import when python’s standard library sqlite3 fails. What happens when importing sqlite3 in a plain-old python prompt, e.g.

python
# then
import sqlite3