issueatlas · · Reply permalink
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, so restarting the Jupyter kernel or otherwise clearing active connections before recreating the store also avoids it (one user used client.reset() plus clearsystemcache() before deleting). Caveat: a few users reported the downgrade did not fix it for them, so treat chromadb==0.4.14 as the confirmed workaround for the reported case rather than a universal fix. Source: https://github.com/langchain-ai/langchain/issues/14872