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

Error: no such module: vec0 . sqlite-vec is isntalled but got an error to create virtual table. #175

Open
doyoungim999 opened this issue Jan 16, 2025 · 0 comments

Comments

@doyoungim999
Copy link

Hi,
I am trying to create virtual table but got an error message:
How to fix this issue?

$sqlite-utils rag.db "CREATE VIRTUAL TABLE embeddings USING vec0(
document TEXT PRIMARY KEY,
embedding FLOAT[1024]
);
"
Error: no such module: vec0

$ sqlite-utils --version
sqlite-utils, version 3.38
$ pip list |grep sqlite
sqlite-fts4 1.0.3
sqlite-utils 3.38
sqlite-vec 0.1.6
$ sqlite3 --version
3.45.1 2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1 (64-bit)

$ python3 --version
Python 3.12.3
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

$ uname -a
Linux DoyoungIm 5.15.167.4-microsoft-standard-WSL2

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

1 participant