sqlite-vec icon indicating copy to clipboard operation
sqlite-vec copied to clipboard

Raspberry Pi isssues

Open Mukund2900 opened this issue 1 year ago • 1 comments

I am unable to install this on Raspberry Pi . Neither able to compile it. Also python extension is not working.

(venv) mukund@rpi:~/fr $ pip install sqlite-vec Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple ERROR: Could not find a version that satisfies the requirement sqlite-vec (from versions: none) ERROR: No matching distribution found for sqlite-vec

I get the above error .

(venv) mukund@rpi:~/Downloads $ ./install.sh ./install.sh: 49: [[: not found Type: loadable Target: Linux aarch64 Prefix: /home/mukund/Downloads Unsupported platform Linux aarch64

(venv) mukund@rpi:~/Downloads $ cd sqlite-vec/ (venv) mukund@rpi:~/Downloads/sqlite-vec $ ls LICENSE-APACHE Makefile VERSION bindings examples scripts sqlite-dist.toml sqlite-vec.h tests LICENSE-MIT README.md benchmarks dist reference.yaml site sqlite-vec.c sqlite-vec.h.tmpl tmp-static.py (venv) mukund@rpi:~/Downloads/sqlite-vec $ make make: 'dist' is up to date. (venv) mukund@rpi:~/Downloads/sqlite-vec $ make all cc \ -fPIC -shared \ -Wall -Wextra \ -Ivendor/ \ -O3 \ -lm \ sqlite-vec.c -o dist/vec0.so In file included from sqlite-vec.c:1: sqlite-vec.h:5:10: fatal error: sqlite3ext.h: No such file or directory 5 | #include "sqlite3ext.h" | ^~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:96: dist/vec0.so] Error 1 (venv) mukund@rpi:~/Downloads/sqlite-vec $

How to setup this on Raspberry Pi

Mukund2900 avatar Sep 18 '24 07:09 Mukund2900

I was able to compile it, and seems like Alex as well, reading this comment: https://github.com/asg017/sqlite-vec/issues/70#issuecomment-2540061470

jackbravo avatar Dec 12 '24 21:12 jackbravo