# Can't login to Huggingface CLI

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-login-to-huggingface-cli%2F139741%3E%5C
**Category:** Beginners\
**Created:** [February 8, 2025, 6:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-login-to-huggingface-cli%2F139741 "2025-02-08T18:18:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [February 9, 2025, 4:12am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-login-to-huggingface-cli%2F139741%2F4 "2025-02-09T04:12:56Z")

</div>

It seems that there are also cases where the cause is something else.

> [@Invalid token passed?](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finvalid-token-passed%2F22711%3Fpage%3D2)%3A
>
> Token: Traceback (most recent call last): File “C:\Users\paint\anaconda3\Scripts\huggingface-cli-script.py”, line 9, in sys.exit(main()) File “C:\Users\paint\anaconda3\lib\site-packages\huggingface\_hub\commands\huggingface\_cli.py”, line 41, in main service.run() File “C:\Users\paint\anaconda3\lib\site-packages\huggingface\_hub\commands\user.py”, line 176, in run \_login(self.\_api, token=token) File “C:\Users\paint\anaconda3\lib\site-packages\huggingface\_hub\commands\user.py”, line 343, i…

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-login-to-huggingface-cli%2F139741)._
