Forums

ChromaDB and sqlite3

Hello Running web app on pythonanywhere that uses ChromaDB. Using virtual environment. Python = 3.10.5 After updating ChromaDB to latest version (Version: 0.5.18), I'm getting this error:

File "/home/.../.virtualenvs/myvirtualenv/bin/chroma", line 5, in <module> from chromadb.cli.cli import app File "/home/.../.virtualenvs/myvirtualenv/lib/python3.10/site-packages/chromadb/init.py", line 86, in <module> raise RuntimeError( RuntimeError: Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.

Tried:

myvirtualenv) 12:49 ~ $ pip install -U sqlite3

and

myvirtualenv) 12:49 ~ $ pip install sqlite3

with and without version number, both gave:

ERROR: Could not find a version that satisfies the requirement sqlite3 > (from versions: none). ERROR: No matching distribution found for > sqlite3

tried from bash: same problem

pip3.10 install --user sqlite3 =>

Looking in links: /usr/share/pip-wheels. ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none). ERROR: No matching distribution found for sqlite3

Based on web search, successfully Installed in both bash and virtual environment pysqlite3-binary:

pip install pysqlite3-binary

But I don't know how to proceed as I'm still getting chromadb error Can you please help?

I think you may have emailed us about this too, but for completeness, here's the response to that:

Thanks for the message! Unfortunately the version of SQLite is part of your system image (essentially the version of the operating system that your account uses), and it can't be upgraded. 3.31.1 is the most recent that we support right now; our next system image (which will hopefully be available by the end of the year), will support 3.37.2.

Thank you for your prompt response here and to my email. Sorry for the duplication but I was desperate :) I modified the chromadb init.py as a workaround. Still testing.

No problem, let us know if there's anything else we can help with.

I also need this fixed its the only reason i signed up. - please update the version of SQL lite. to the appropriate version

We are working on the new system image that would have that.