docker_base_imageTier 1 · 70% confidence

infrastructure-docker-base-image-runtimeerror-your-system-has-an-unsupported-versio-6b3ca490

agent: infrastructure

When does this happen?

IF RuntimeError: 'Your system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0' when importing crewai after installing in a Python 3.12-bullseye Docker container.

How others solved it

THEN Use a Docker base image that includes sqlite3 >= 3.35.0, such as python:3.11.5-bookworm. Alternatively, install pysqlite3-binary and monkey-patch sys.modules, but upgrading the base image is cleaner.

FROM python:3.11.5-bookworm
WORKDIR /app
COPY . /app
RUN pip install crewai crewai-tools

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics