Skip to content

Is it possible to load SQLite extensions? #1716

Answered by TCatshoek
TCatshoek asked this question in Q&A
Discussion options

You must be logged in to vote

Figured this out:

Getting the underlying aiosqlite connection from tortoise seemed like a dead end because on macos sqlite, and therefore python, is compiled without sqlite extension loading support out of the box.

After installing sqlite from brew and building python with sqlite extension loading support everything works as expected.

https://til.simonwillison.net/sqlite/trying-macos-extensions
https://til.simonwillison.net/sqlite/sqlite-extensions-python-macos
pyenv/pyenv#1702 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TCatshoek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant