Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: chromadb 0.4.22 failing with depending on onnxruntime>=1.14.1 #1627

Open
rjindal14 opened this issue Jan 12, 2024 · 6 comments
Open
Labels
bug Something isn't working

Comments

@rjindal14
Copy link

rjindal14 commented Jan 12, 2024

What happened?

I'm trying to install chromadb but constantly getting the below error:

ERROR: Cannot install chromadb
The conflict is caused by:
chromadb 0.4.22 depends on onnxruntime>=1.14.1

The documentation of chromdb shows compatibility with python >= 3.8. So, this version should work with my environment.

Versions

chromadb 0.4.22
python 3.12.1
langchain 0.1.0
openai 1.7.1
numpy 1.26.3
chainlit 1.0.100
windows 11

Relevant log output

ERROR: Cannot install chromadb==0.1.0, chromadb==0.2.0, chromadb==0.3.0, chromadb==0.3.1, chromadb==0.3.2, chromadb==0.3.25, chromadb==0.3.26, chromadb==0.3.27, chromadb==0.3.29, chromadb==0.4.0, chromadb==0.4.1, chromadb==0.4.10, chromadb==0.4.11, chromadb==0.4.12, chromadb==0.4.13, chromadb==0.4.14, chromadb==0.4.15, chromadb==0.4.16, chromadb==0.4.17, chromadb==0.4.18, chromadb==0.4.19, chromadb==0.4.2, chromadb==0.4.20, chromadb==0.4.21, chromadb==0.4.22, chromadb==0.4.3, chromadb==0.4.4, chromadb==0.4.5, chromadb==0.4.6, chromadb==0.4.7, chromadb==0.4.8 and chromadb==0.4.9 because these package versions have conflicting dependencies.

The conflict is caused by:
    chromadb 0.4.22 depends on onnxruntime>=1.14.1
    chromadb 0.4.21 depends on onnxruntime>=1.14.1
    chromadb 0.4.20 depends on onnxruntime>=1.14.1
    chromadb 0.4.19 depends on onnxruntime>=1.14.1
    chromadb 0.4.18 depends on onnxruntime>=1.14.1
    chromadb 0.4.17 depends on onnxruntime>=1.14.1
    chromadb 0.4.16 depends on onnxruntime>=1.14.1
    chromadb 0.4.15 depends on onnxruntime>=1.14.1
    chromadb 0.4.14 depends on onnxruntime>=1.14.1
    chromadb 0.4.13 depends on onnxruntime>=1.14.1
    chromadb 0.4.12 depends on onnxruntime>=1.14.1
    chromadb 0.4.11 depends on onnxruntime>=1.14.1
    chromadb 0.4.10 depends on onnxruntime>=1.14.1
    chromadb 0.4.9 depends on onnxruntime>=1.14.1
    chromadb 0.4.8 depends on onnxruntime>=1.14.1
    chromadb 0.4.7 depends on onnxruntime>=1.14.1
    chromadb 0.4.6 depends on onnxruntime>=1.14.1
    chromadb 0.4.5 depends on onnxruntime>=1.14.1
    chromadb 0.4.4 depends on onnxruntime>=1.14.1
    chromadb 0.4.3 depends on onnxruntime>=1.14.1
    chromadb 0.4.2 depends on onnxruntime>=1.14.1
    chromadb 0.4.1 depends on onnxruntime>=1.14.1
    chromadb 0.4.0 depends on onnxruntime>=1.14.1
    chromadb 0.3.29 depends on onnxruntime>=1.14.1
    chromadb 0.3.27 depends on onnxruntime>=1.14.1
    chromadb 0.3.26 depends on onnxruntime>=1.14.1
    chromadb 0.3.25 depends on onnxruntime>=1.14.1
    chromadb 0.3.2 depends on numpy~=1.21.6
    chromadb 0.3.1 depends on numpy~=1.21.6
    chromadb 0.3.0 depends on numpy~=1.21.6
    chromadb 0.2.0 depends on numpy~=1.21.6
    chromadb 0.1.0 depends on numpy~=1.21.6
@rjindal14 rjindal14 added the bug Something isn't working label Jan 12, 2024
@tazarov
Copy link
Contributor

tazarov commented Jan 14, 2024

@rjindal14, we do not yet support python 3.12. As you've discovered yourself, onnxruntime does not yet have version that supports it.

@chenrui333
Copy link

@rjindal14, we do not yet support python 3.12. As you've discovered yourself, onnxruntime does not yet have version that supports it.

@tazarov can you elaborate the onnxruntime support situation? Homebrew has already moved to support py3.12, and I'd like to learn why there would be potential py3.12 issue, thanks!

@tazarov
Copy link
Contributor

tazarov commented Jan 20, 2024

@chenrui333 thanks for the follow up. Seems that MS team is targeting onnx 1.17 to support py 3.12 - https://github.com/microsoft/onnxruntime/wiki/Upcoming-Release-Roadmap

microsoft/onnxruntime#17842

The release was targeted for Dec, but hasn't been released yet. I suspect any day now they'll push it out. In the issue I linked above they confirm that it is possible to build onnx for python 3.12 locally.

@chenrui333
Copy link

Thanks @tazarov for the pointer, just subscribed that issue. Also feel free to drop an note in here, Homebrew/homebrew-core#160501 once it gets released.

@chenrui333
Copy link

@chenrui333 thanks for the follow up. Seems that MS team is targeting onnx 1.17 to support py 3.12 - https://github.com/microsoft/onnxruntime/wiki/Upcoming-Release-Roadmap

we (homebrew) actually just shipped onnxruntime 1.17.0, we can give mentat 1.0.9 a retry

@tazarov
Copy link
Contributor

tazarov commented Feb 23, 2024

@chenrui333, we already added support for Python 3.12 to the main (yet to be released in 0.4.23).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants