-
So far, I have tried datasette on Linux (debian and raspbian) and on Mac OSX with homebrew. In all these cases, I installed datasette with pipx and it just worked. I believe in all these situations python comes with the sqlite module included. But on freebsd (using the freebsd "package" for python3.9), it does not:
... and this is pretty much what I also get when I run the datasette binary I have installed with pipx (which succeeded without errors or even warnings). So, how to use datasette in such situations? I really don't want to build my own python, or manually wrangle pip options. -- |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You could try installing pysqlite3-binary is a package that bundles a pre-compiled, modern sqlite to work around the fact that many distros have a very old SQLite. Datasette is smart enough to use it in preference to the standard sqlite3 module if it's available. |
Beta Was this translation helpful? Give feedback.
You could try installing
pysqlite3-binary
from pip. I don't know if it has pre-built FreeBSD versions, though.pysqlite3-binary is a package that bundles a pre-compiled, modern sqlite to work around the fact that many distros have a very old SQLite. Datasette is smart enough to use it in preference to the standard sqlite3 module if it's available.