Open nick-youngblut opened 2 months ago
At least with my Dockerfile setup, apt-get update && apt-get install sqlite3
will only install sqlite3 version 3.27.2 2019-02-25
, but Chroma requires sqlite3 >= 3.35.0
. The Chroma docs on this issue are non-trivial (e.g., https://gist.github.com/defulmere/8b9695e415a44271061cc8e272f3c300 or https://github.com/coleifer/pysqlite3?tab=readme-ov-file#building-a-statically-linked-library; neither works for me). It would be helpful to provide an example Dockerfile setup (e.g., using an official python image) that includes the appropriate install of sqlite3.
The last option in the Chroma docs on this issue:
If you are using a Debian based Docker container, older Debian versions do not have an up to date SQLite, please use
bookworm
or higher.
...seemed rather cryptic, at least to me, but after looking at the Chroma Dockerfile, I see that python:3.11-slim-bookworm
is used instead of python:3.11-slim-buster
.
However, when I switch from python:3.11-slim-buster
to python:3.11-slim-bookworm
, my docker build fails with the following error:
30.53 ERROR: Could not find a version that satisfies the requirement regex<2024.0.0,>=2023.12.25 (from crewai) (from versions: none)
30.53 ERROR: No matching distribution found for regex<2024.0.0,>=2023.12.25
Same issue here, tried to build manually pysqlite3 but it didn't work either
Hello. I currently don't have a precise solution to your problem.
However, if you're aiming to utilize a PostgreSQL database, I recommend checking out this template notebook.
I hope it can provide you with some useful pointers.
The installation docs do not state that sqlite3 must be installed, in addition to running pip install crewai.
Great catch, we might have not added it as a dependency let me go ahead and do it.
Dockerfile:
requirements.txt file:
Import:
Error:
The installation docs do not state that sqlite3 must be installed, in addition to running
pip install crewai
.