Python: sqlite no matching distribution found for sqlite
Solution 1
What makes you think you need to install this? sqlite is part of the standard library, and does not need installing.
Solution 2
Another simple solution would be
pip install pysqlite
Solution 3
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
- download wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
- tar xvf Python-3.6.3.tar.xz
- cd Python-3.6.3 and then run ./configure
- make
- 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
![Rocketq](https://i.stack.imgur.com/HEDFv.jpg?s=256&g=1)
Rocketq
Updated on July 09, 2022Comments
-
Rocketq almost 2 years
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 ...
-
Rocketq over 8 yearsBecause I dont have such lib installed.
import sqlite
- doesn't work -
Daniel Roseman over 8 yearsThe stdlib module is called sqlite3. See the documentation.
-
clabe45 over 6 yearsBecause the package
sqlite3
(in the standard library) has problems. Try compiling a sqlite3 python program with cx_Freeze, and you'll get a DLL not found error. -
Ashwin almost 6 yearsI'm new to python, django..I'm working on Python-Django project, I have been facing the same error even after installing sqlite-devel I'm getting this error "ModuleNotFoundError: No module named '_sqlite3' "
-
Always Sunny almost 4 yearsOld one but gold one :), I was astonished why it is working if it is not installed
-
object Object about 3 yearsafter stubbornly trying to download SQLITE3 from pip for several minutes, i remembered that python is batteries included.
-
ptn77 about 2 yearsWhat's the solution for this? On Windows I see the folder for the sqlite in the python install directory and I updated the path environment variable to include this path, but in VS code, it's still complaining that the command is not found.