database · inferred from evidence
chromadb
A database being installed via pip, which depends on hnswlib.
- pip install chromadb fails building the hnswlib wheel on macOS (clang errors)
Run `export HNSWLIB_NO_NATIVE=1` before installing, then `pip install chromadb` again. This disables hnswlib's native-architecture compile flags and was confirmed working by multiple reporters in the thread. If that still fails, switching t
- Chroma.from_documents() raises sqlite3.OperationalError: attempt to write a readonly database
The original reporter confirmed this fix worked: pip install --upgrade chromadb==0.4.14, and several other users said the same. The underlying cause identified in the thread is a stale sqlite connection that survives the directory deletion,