-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web_ui startup failed: ImportError: cannot import name 'cached_download' from 'huggingface_hub' #516
Comments
解决了吗,我也遇到了这个问题 |
downgrade to older version, i use |
May I suggest you try to downgrade huggingface_hub to 0.25.2 ? Something like |
@HouIP Thank you for saving my time! |
This solved my problem, thank you. |
Hey there, maintainer of
This fixed version dates back to June 2024. The issue with pinning Hope this will prove useful 🙏 |
As mentioned in FunAudioLLM#516 (comment) and FunAudioLLM#527 (comment), it is more future-proof to upgrade `diffusers` version rather than downgrading `huggingface_hub` to an old one. This will also fix the `cannot import name 'cached_download' from 'huggingface_hub'` issue without relying on outdated packages. Sorry again for the inconvenience 🙏
As mentioned in FunAudioLLM#516 (comment) and FunAudioLLM#527 (comment), it is more future-proof to upgrade `diffusers` version rather than downgrading `huggingface_hub` to an old one. This will also fix the `cannot import name 'cached_download' from 'huggingface_hub'` issue without relying on outdated packages. Sorry again for the inconvenience 🙏
Describe the bug
pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/ipc1/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/huggingface_hub/init.py)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should launch a web interface as described in the documentation, but it does not!!!
Desktop (please complete the following information):
I use pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com to install all requirements.
The text was updated successfully, but these errors were encountered: