Can't import chroma

while I am running import chromadb, it throws an error saying,


16 frames

ImportError: cannot import name ‘Doc’ from ‘typing_extensions’ (/usr/local/lib/python3.10/dist-packages/typing_extensions.py)

Anyone facing the same problem?

2 Likes

Hi @Toufik1

Are you trying to run locally?

Best regards

1 Like

Run into same issue trying to exercise the following notebook on aws ec2.
Do you have a file like requirements.txt to run this successfully?
Thanks

learn.deeplearning.ai/langchain-chat-with-your-data/lesson/7/chat

1 Like

Hi @yiguanghu,
Welcome to the community.
No, I was just trying in Google Colab, so didn’t create any virtual environment or requirements.txt. I have used chromadb previously as well, didn’t get any error then, I don’t what’s the problem now.

1 Like

Hi, I’m getting exactly this error, while trying to import chromadb in a local jupyter notebook I get this error. Were you able to figure this out? thanks, David

1 Like

I am also getting the same error : ImportError: cannot import name ‘Doc’ from 'typing_extensions while trying in Juoyter note book. Any one got solution about how this could be fixed

1 Like