-
Notifications
You must be signed in to change notification settings - Fork 658
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
CommitOperationAdd cant be imported from huggingface_hub #2352
Comments
Hi @connorchenn, I'm sorry you are facing this issue. Could you try to install |
After installing huggingface hub from source code, the problem persists. |
@sundaqiang could you provide your |
aiofiles==23.2.1 (ChatTTS) E:\Python\ChatTTS_colab>pip freeze |
execute this commend: conda install chardet |
@sundaqiang could you confirm if @zxcasde 's comment fixes your issue? I unfortunately have not been able to reproduce it with the package list you gave which makes investigation harder 😕 |
I am getting the following error: from huggingface_hub import CommitOperationAdd, SpaceHardware, SpaceStage
ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (/Users/connor/opt/anaconda3/envs/LMSYS/lib/python3.12/site-packages/huggingface_hub/init.py). Did you mean: 'CommitOperation'?
I've seen similar errors on other threads, but none of the solutions proposed seem to work. huggingface_hub is currently installed in my conda environment. I have tried uninstalling and installing hugginface_hub, but this doesn't seem to be working. My current huggingface_hub version is 0.23.4. Any help will be greatly appreciated, thank you.
The text was updated successfully, but these errors were encountered: