Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python code does not work #116

Open
tumikosha opened this issue Jan 17, 2024 · 1 comment
Open

Python code does not work #116

tumikosha opened this issue Jan 17, 2024 · 1 comment

Comments

@tumikosha
Copy link

tumikosha commented Jan 17, 2024

# ubuntu 23.04/   ;  python 3.11
-----------
import sqlite3
import sqlite_vss

db = sqlite3.connect(':memory:')
db.enable_load_extension(True)
sqlite_vss.load(db)
-------------

Error: Process finished with exit code 132 (interrupted by signal 4: SIGILL)

@asg017
Copy link
Owner

asg017 commented Jan 17, 2024

Make sure to install the required linux deps like so:

sudo apt-get update
sudo apt-get install libgomp1 libatlas-base-dev liblapack-dev libsqlite3-dev

Also, does your system support AVX2 instructions? The default sqlite-vss build uses AVX2 (because of Faiss), which might be causing the SIGILL error (which is "illegal instruction)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants