Skip to content
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

[bug]: ImportError: cannot import name 'login' from 'huggingface_hub' #2149

Closed
1 task done
OdysseasKar opened this issue Dec 27, 2022 · 1 comment · Fixed by #2222
Closed
1 task done

[bug]: ImportError: cannot import name 'login' from 'huggingface_hub' #2149

OdysseasKar opened this issue Dec 27, 2022 · 1 comment · Fixed by #2222
Labels
bug Something isn't working

Comments

@OdysseasKar
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS

Linux

GPU

cuda

VRAM

No response

What happened?

When running invoke.sh from cli and selecting web interface

Screenshots

image

Additional context

No response

Contact Details

No response

@OdysseasKar OdysseasKar added the bug Something isn't working label Dec 27, 2022
@williamchong
Copy link
Contributor

williamchong commented Jan 4, 2023

Your huggingface_hub library is outdated
Try running pip install -U huggingface_hub to install latest version

Ref: huggingface/huggingface_hub#1111

williamchong added a commit to williamchong/InvokeAI that referenced this issue Jan 4, 2023
`import login` only works in huggingface-hub >= 0.11.0

Fixes invoke-ai#2149
lstein pushed a commit that referenced this issue Jan 4, 2023
`import login` only works in huggingface-hub >= 0.11.0

Fixes #2149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants