coleifer / pysqlite3

SQLite3 DB-API 2.0 driver from Python 3, packaged separately, with improvements
zlib License
188 stars 53 forks source link

Not able to download pysqlite3-binary on a centos machine #50

Closed visuman closed 1 year ago

visuman commented 1 year ago

Ran the following command on using python 3.10 on a centos 7 machine and got error

venv310/bin/pip install -U pip
Requirement already satisfied: pip in ./venv310/lib/python3.10/site-packages (23.1.1)
venv310/bin/pip install pysqlite3-binary
ERROR: Could not find a version that satisfies the requirement pysqlite3-binary (from versions: none)
ERROR: No matching distribution found for pysqlite3-binary

The installation is working for python 3.9

venv39/bin/pip install pysqlite3-binary
Collecting pysqlite3-binary
  Using cached pysqlite3_binary-0.4.6-cp39-cp39-manylinux1_x86_64.whl (5.3 MB)
Installing collected packages: pysqlite3-binary
Successfully installed pysqlite3-binary-0.4.6

I saw that pysqlite3-binary is already available for python 3.10 https://github.com/coleifer/pysqlite3/issues/29

is there something that i am missing ?

coleifer commented 1 year ago

Not sure what to tell you, seems working fine for me on 3.10:

$ python --version
Python 3.10.2
$ pip install pysqlite3-binary
...
Successfully installed pysqlite3-binary-0.5.0
$ python -c "import pysqlite3"  # No error.