Unable to paste access token in cmd
I am trying to use the huggingface-cli login command to install Stable Diffusion. I am at the end of the process where I need to use the huggingface-cli login command to log in to hugging face. However, I am unable to type the access token or past it. I don’t know why, and my searches haven’t turned up much useful information. Any help would be appreciated. No error is given. I just can’t enter anything at the Token: prompt.
2022-11-24T16:07:49Z
Make sure your running as administrator, right click the top of the window, highlight edit, paste. Your token wont be visible but entering should work. Sorry that its taken someone this long to reply.
2023-03-08T19:53:27Z
I had this problem as well and for some reason I could only get it to successfully paste the token by rightclicking on the command window (not selecting Edit->Paste in top left as usual). It wasn’t visible but worked.
2023-10-29T11:48:12Z
It’s much simpler to give the token as an argument to the first call as follows:huggingface-cli login --token YOUR_TOKEN_GOES_HERESimply runninghuggingface-cli login -hwill show you this option which solves the copy-paste issue immediately.