X
X
xomiles2020-11-27 23:13:12
pip
xomiles, 2020-11-27 23:13:12

What is needed to fix the warning when installing the module?

5fc15d80088a1560019627.jpeg
I need to install the pysqlite3 module but it gives me a warning, how can I fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-11-27
@xomiles

I xs what kind of thing this is, but it needs to be collected from source. And judging by their github page, it's better to do it on Linux.

# Download the latest release of SQLite source code and build the source
# amalgamation files (sqlite3.c and sqlite3.h).
$ wget https://www.sqlite.org/src/tarball/sqlite.tar.gz?r=release \
    -O sqlite.tar.gz
$ tar xzf sqlite.tar.gz
$ cd sqlite/
$ ./configure
$ make sqlite3.c

# Copy the sqlite3 amalgamation files into the root of the pysqlite3 checkout
# and run build_static + build:
$ cp sqlite/sqlite3.[ch] pysqlite3/
$ cd pysqlite3
$ python setup.py build_static build

There is a binary build, though for linux: pip install pysqlite3-binary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question