OOTDiffusion icon indicating copy to clipboard operation
OOTDiffusion copied to clipboard

ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\APP\anaconda3\envs\ootd\lib\site-packages\huggingface_hub\__init__.py)

Open promising678 opened this issue 1 year ago • 4 comments

how to solve the problem?

promising678 avatar Jan 29 '25 16:01 promising678

pip uninstall huggingface_hub pip install huggingface_hub==0.25.2

zzubrzycka avatar Jan 31 '25 13:01 zzubrzycka

Hello @zzubrzycka , how are you able to solve this issue even with huggingface_hub version 0.30.0 I got the same erro

lamaSonmez avatar Jun 13 '25 21:06 lamaSonmez

Hello @zzubrzycka , how are you able to solve this issue even with huggingface_hub version 0.30.0 I got the same erro

Hello, I just unistalled the huggingface_hub library and installed an older version of it that still has the needed implementation of cached_download. And this version is 0.25.2

zzubrzycka avatar Jun 15 '25 12:06 zzubrzycka

pip uninstall huggingface_hub pip install huggingface_hub==0.25.2

It works!

angiewlz avatar Aug 22 '25 05:08 angiewlz