HuggingFaceEmbeddings' object has no attribute 'show_progress' when calling LangChain ConversationalRetrievalChain

I encountered an error “‘HuggingFaceEmbeddings’ object has no attribute ‘show_progress’” with code:

qa = ConversationalRetrievalChain.from_llm(
        llm = llm,

The code worked before so I guess this error occurred due to some version incompatibility.

However, I never explicitly installed or used HuggingFace in my script before, so I’m unsure why this error is occurring now. If anyone has insight into how I can resolve this “HuggingFace not installed” error with my current LangChain version (langchain==0.0.292), I would appreciate suggestions on how to fix it.

1 Like

Please share the screenshot of the error you are mentioning!