I've tried

python -m pip install -U sqlite

it returns

No matching distribution found for sqlite

I'm using python 3.11.0

  • 1
    What research have you done to solve the issue?
    – MatsK
    Dec 5, 2022 at 16:56
  • If you had used the standard version of Python you would not have this problem.
    – joan
    Dec 5, 2022 at 18:08
  • is the standard version not 3.11.0? is it 3.10.0? Dec 5, 2022 at 18:24
  • The standard version is 3.9.2
    – joan
    Dec 5, 2022 at 20:11
  • ok i will switch Dec 5, 2022 at 20:27

1 Answer 1


The module is named sqlite3, not sqlite.

sqlite3 is built into Python's standard library (https://docs.python.org/3/library/sqlite3.html), you should not try to install it using pip.

If import sqlite3 does not work either, it means you've compiled Python without SQLite support, and you need to build it again after installing the libsqlite3-dev package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.