chroma icon indicating copy to clipboard operation
chroma copied to clipboard

[Bug]: Conflict between ChromaDB and another package due to duplicate opentelemetry proto file

Open hufffs opened this issue 9 months ago • 1 comments

What happened?

Description:

I'm encountering a conflict when running a project that uses ChromaDB alongside another package (possibly New Relic or similar), which results in the following error:

TypeError: Couldn't build proto file into descriptor pool: duplicate file name

It seems that multiple versions of the opentelemetry-proto package are being pulled in or bundled, and their compiled .proto files are conflicting. This is likely caused by both ChromaDB and another dependency including their own version of the opentelemetry-proto definitions.

Versions

Environment:

Python 3.12 ChromaDB 0.5.23 Other packages potentially bundling different versions of opentelemetry-proto

Thx

hufffs avatar Mar 21 '25 03:03 hufffs

@hufffs can you try using a newer version of Chroma? https://pypi.org/project/chromadb/

jeffchuber avatar Apr 16 '25 00:04 jeffchuber

closing for staleness

jairad26 avatar Jun 30 '25 16:06 jairad26