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

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

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.