Nightmare with - Chroma requires sqlite3 >= 3.35.0

you have to follow these two steps to fix this issue:-

  1. pip install pysqlite3-binary
  2. open this file-[ In this path - update this with your python3.XX]:-
    latest_ai_development/.venv/lib/python3.11/site-packages/chromadb/init.py

and add these three lines-
import(‘pysqlite3’)
import sys
sys.modules[‘sqlite3’] = sys.modules.pop(‘pysqlite3’)

before this commented line there-

Re-export types from chromadb.types

2 Likes