Python: sqlite no matching distribution found for sqlite

Question:

I tried to install that library by pip in console. I’m using win7 and python v. 2.7.10. But failed to achive. Acording to this – It can be used for my version of python too.

I tried to install by several ways:

pip install sqlite

pip install sqlite3

pip install sqlite-devel

What is wrong here?

    Full error: Could not find a version that satisfies the requirement(). 
No matching distribution found for ...
Asked By: Rocketq

||

Answers:

What makes you think you need to install this? sqlite is part of the standard library, and does not need installing.

Answered By: Daniel Roseman

I had similar issue in RHEL7.4
it worked with below solution

If you compiled and installed Python 3 yourself, install the dependencies (libsqlite3-dev or sqlite-devel or similar, depending on your Linux distribution, for example), then re-compile and re-install Python 3.

after installing the sqlite-devel I have reinstall Python3.6 on my machine using below steps

  1. download wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
  2. tar xvf Python-3.6.3.tar.xz
  3. cd Python-3.6.3 and then run ./configure
  4. make
  5. make install

after doing this when I launch jupyter notebook it got launch

Credit goes for this answer to Martijn Link https://stackoverflow.com/a/41440858/5863866

Answered By: Chandramani

Another simple solution would be

pip install pysqlite

Answered By: Harshit Garg

I used "pip install pysqlite" and it worked

Answered By: Evidence Ejimone
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.