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

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

Open
neerajg5 opened this issue Sep 26, 2024 · 1 comment
Open
Labels
installation trouble trouble building or installing chroma

Comments

@neerajg5
Copy link

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 neerajg5 added the installation trouble trouble building or installing chroma label Sep 26, 2024
@Kviilen
Copy link

Kviilen commented Sep 26, 2024

I think you can refer to the issues I raised. #2856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation trouble trouble building or installing chroma
Projects
None yet
Development

No branches or pull requests

2 participants