chroma icon indicating copy to clipboard operation
chroma copied to clipboard

[Install issue]: chroma not working on windows localhost (anaconda)

Open neerajg5 opened this issue 1 year ago • 1 comments

What happened?

chroma not working on windows localhost (anaconda) I've been trying to run chroma via Anaconda navigator Python. anaconda version is 3 and python is 3.11 While trying to add data in chroma collection, the kernel is restarting repeatedly. So, I'm not able to add the data in to a chroma collection. I'm able to generate embeddings using the default model mentioned in chroma documentation.

I'm not able to figure out the issue causing this behaviour (i.e. not able to add data)

Kindly help.

OS : Windows 11 System configuration :

Code snippet from documentation:

import chromadb
chroma_client = chromadb.Client()
collection = chroma_client.get_or_create_collection(name="my_collection")

collection.upsert(
    documents=[
        "This is a document about pineapple",
        "This is a document about oranges"
    ],
    ids=["id1", "id2"]
)

results = collection.query(
    query_texts=["This is a query document about florida"], # Chroma will embed this for you
    n_results=2 # how many results to return
)

print(results)

the error is image

screenshot of the embeddings generated successfully (in a separate program) from the default model (mentioned in the chroma documentation) is given below: image

Thanks.

Versions

Python 3.11.7 OS - Windows 11 Chroma 0.5.7 image image

Relevant log output

No response

neerajg5 avatar Sep 26 '24 05:09 neerajg5

I think you can refer to the issues I raised. https://github.com/chroma-core/chroma/issues/2856

Kviilen avatar Sep 26 '24 07:09 Kviilen

Tracking in #2856

itaismith avatar Jan 03 '25 20:01 itaismith