I can’t figure out how to fix this problem.
ImportError: cannot import name ‘cached_download’ from ‘huggingface_hub’ (C:\Users\AMD\AppData\Local\NVIDIA\ChatWithRTX\env_nvd_rag\lib\site-packages\huggingface_hub_init_.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “C:\Users\AMD\AppData\Local\NVIDIA\ChatWithRTX\RAG\trt-llm-rag-windows-main\app.py”, line 110, in
embed_model = HuggingFaceEmbeddings(model_name=embedded_model)
File “C:\Users\AMD\AppData\Local\NVIDIA\ChatWithRTX\env_nvd_rag\lib\site-packages\langchain\embeddings\huggingface.py”, line 61, in init
raise ImportError(
ImportError: Could not import sentence_transformers python package. Please install it with pip install sentence-transformers
.
I don’t know anything about programming, so, please use simple terms so I can understand and fix this issue.