-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
pip install chromadb
fails with python 3.11.0
#163
Comments
Thanks for filing this, I think what is occurring is that chromadb depends on Pytorch is not yet compatible with python 3.11 pytorch/pytorch#86566. You can verify this by trying to I think for now you are restricted to using <3.11 without workarounds for a few dependencies such as installing pytorch nightly, and building sentence-transformers dependency sentencepiece (google/sentencepiece#810). |
@HammadB this intersects with the conversation we were having the other day about making the download of
Doing so would also fix the slow-start issue when it downloads all this. I think this basically amounts to removing a default here... https://github.com/chroma-core/chroma/blob/main/chromadb/api/models/Collection.py#L40. Or we could do "use the default if |
This is now tracked here: #249, so going to close this issue in favor of that. |
Works fine with: Reference: Yale-LILY/SummerTime#116 (comment) |
|
@ryanniccolls I don't think pytorch is maintained as pypi pytorch anymore. You likely only want torch |
That's. Thank you, it actually told me that I need to instal Torch. I am using Anaconda. I am successfully asking questions of multiple PDFs. Amazing. I think my next project is a personal AI with memory - which will be local and able to use multiple pdfs to "peer review" another PDF. |
you could try 'conda install -c conda-forge chromadb' with anaconda |
Will it be upgraded to be used with 3.11?? |
SOLUTION: |
this finally worked, apparently just use python3.10. The compile error is due to a lack of g++ or somesuch sudo apt-get install python3-dev |
Note this is resolved in 3.11.5. More details here: #1410 (issues with 3.12.0) |
this issue was raised way back in feb23. we already have python 3.12.0 we still face the same issue. each package ofcourse will depend on other packages and there will be version conflicts because different developers use different versions to develop. but this is causing too much of a hassle for someone who just wants to use a package to avail a particular feature. we cannot have 100s of environments. how do I install chromadb for python 3.12 to use langchain? please help. May I request to reopen this issue? |
@annamalaiarunachalam bro, i'm stuck in same issue, and thinking to delete current version and reinstall 3.11.5, tell me if u tried this. ASAP please |
It worked, after installing the 3.11.5 version. But, it's suggested to delete the corresponding modules and libraries simultaneously with python uninstalling, coz u'll be needing to reinstall everything after another python installation |
yep, I tried 3.11.5 and it worked. looks like chromadb is not compatible
with 3.12
…On Thu, 14 Dec 2023 at 14:08, Rishav Ranjan ***@***.***> wrote:
@annamalaiarunachalam <https://github.com/annamalaiarunachalam> bro, i'm
stuck in same issue, and thinking to delete current version and reinstall
3.11.5, tell me if u tried this. ASAP please
—
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALS6KGFW6NA35OPU3NZ5YZTYJKJXLAVCNFSM6AAAAAAVELEPP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGIYDANJWGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I was not able to install chromadb with python 3.11.6, it works correctly with 3.10.13 though. Didn't try with 3.11.5 |
steps to recreate:
pip install chromadb
workarounds:
full terminal output:
The text was updated successfully, but these errors were encountered: