-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"AttributeError: module 'huggingface_hub.constants' has no attribute 'HF_HUB_CACHE'" #151
Comments
Upgrading the huggingface hub version can solve the problem |
This error seems to occur when the Python version of Google Colab is 3.10.12. I fixed this issue and submitted a pull request. |
I am facing the same error, any solution to suggest ? |
I am facing the same error, any solution to suggest ? |
Still getting this error, tried with Scourged the internet but still not working |
Describe the bug
I encountered an
AttributeError
when trying to importse_extractor
from theopenvoice
package in Google Colab. The error message indicates that thehuggingface_hub.constants
module does not have an attribute namedHF_HUB_CACHE
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the modules to be imported without any issues.
Error message
Environment (please complete the following information):
transformers
version: 4.38.1huggingface_hub
version: 0.17.3Additional context
Add any other context about the problem here. I followed the official documentation for setting up my project in Google Colab and have not made any modifications to the environment that should affect this import.
Additionally, when I executed !pip install -e ., I encountered dependency errors which might be related to the issue. The error message was as follows:
This might indicate that there are conflicting dependencies in my environment that could be contributing to the problem.
The text was updated successfully, but these errors were encountered: