Open sorydi3 opened 5 months ago
@sorydi3, a user on the Chroma community, was recently experiencing a similar issue. Here is the discord link - https://discord.com/channels/1073293645303795742/1242488989538193509. The problem there was related to sqlite3 version not being compatible. To check for that, can you start python repl:
python3
>>> import chromadb
Let me know if the above returns an import error that complains about sqlite3.
@tazarov, it's true the import returns an error:
import chromadb Traceback (most recent call last): File "
", line 1, in File "/workspaces/katifunza/venv/lib/python3.11/site-packages/chromadb/init.py", line 79, in raise RuntimeError( RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0. Please visit https://docs.trychroma.com/troubleshooting#sqlite to learn how to upgrade.
I used the following steps in order to fix the issue. basically you'll need to override the sqlite3 version installed in your system by copying the python code provided in the gist to your chromadb __init__.py
and also pip install pysqlite3-binary
.
hope this help.
https://gist.github.com/defulmere/8b9695e415a44271061cc8e272f3c300
What happened?
2024-05-22 11:18:03,656 - 132642129839936 - posthog.py-posthog:59 - ERROR: Failed to send telemetry event CollectionQueryEvent: module 'chromadb' has no attribute 'get_settings'
Versions
Chroma v0.4.24, Python 3.11.4 OS: (github codspaces)
Relevant log output