pip install sqlite3 in command prompt code example Example 1: install sqlite3 python pip install pysqlite3 Example 2: how to install sqlite3 in python pip install sqlite