You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've built a macOS app that bundles sqlite with this extension. I re-built python and enabled it with loadable extensions and it works fine on my mac, running 13.1.0 Ventura. Unfortunately the same vss0.dylib and vector0.dylib seem are returning these errors for the people I've distributed the bundle too:
create_statements = [ """
CREATE VIRTUAL TABLE webpage_embeddings using vss0(
body_embedding(384),
);
"""]
print("Creating virtual embedding tables")
with VssSession.engine.connect() as connection:
# VssSession handles loading the extension in another module, but it works fine on my computer and a few users:
# import sqlite_vss
# dbapi_con.enable_load_extension(True)
# sqlite_vss.load(dbapi_con)
# dbapi_con.enable_load_extension(False)
for statement in create_statements:
connection.execute(statement) <--------- Seems to be crashing here based on logs
It seems to not be working for users before 13.1 since I built mac bundle on my computer, but randomly it is working for some users on 13.0. We cannot be sure if its actually a mac app version issue or something else.
We tried building the dylibs for sqlite-vss directly as well by including: set(ENV{MACOSX_DEPLOYMENT_TARGET} “11”) in the CMake file, and swapping them out in the sqlite-vss library within the .venv but this didn't work either .
To get it working on my computer:
brew install sqlite3
Installed python v3.10.13 using pyenv with PYTHON_CONFIGURE_OPTS="--enable-shared --enable-loadable-sqlite-extensions"
poetry install sqlite-vss
Do you have any suggestions?
The text was updated successfully, but these errors were encountered:
I've built a macOS app that bundles sqlite with this extension. I re-built python and enabled it with loadable extensions and it works fine on my mac, running
13.1.0
Ventura. Unfortunately the samevss0.dylib
andvector0.dylib
seem are returning these errors for the people I've distributed the bundle too:In our code base, we run:
It seems to not be working for users before 13.1 since I built mac bundle on my computer, but randomly it is working for some users on 13.0. We cannot be sure if its actually a mac app version issue or something else.
We tried building the dylibs for sqlite-vss directly as well by including:
set(ENV{MACOSX_DEPLOYMENT_TARGET} “11”)
in the CMake file, and swapping them out in the sqlite-vss library within the.venv
but this didn't work either .To get it working on my computer:
brew install sqlite3
Installed python v3.10.13 using pyenv with
PYTHON_CONFIGURE_OPTS="--enable-shared --enable-loadable-sqlite-extensions"
poetry install sqlite-vss
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: