notebook_login errors out after passing token in main branch
See original GitHub issueDescribe the bug
I installed main branch of huggingface_hub because I needed to use dataset conversion tool where you can see huggingface_hub
main branch in requirements.txt. The notebook_login
errors out with logs below. This doesn’t happen when I update last version of the library.
Reproduction
You can try this notebook. I tried only installing github repository itself and calling notebook_login and was able to reproduce it.
Logs
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/huggingface_hub/commands/user.py in login_token_event(t)
308 token_widget.value = ""
309 clear_output()
--> 310 _login(token=token)
311
312 token_finish_button.on_click(login_token_event)
TypeError: _login() missing 1 required positional argument: 'hf_api'
System Info
(Below is tip of main branch)
huggingface-hub @ git+https://github.com/huggingface/huggingface_hub@3a59bf13f1ef50b2e7e9ac8362f5984ac288eb33
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Error message notebook_login - Hub - Hugging Face Forums
When I run this cell from huggingface_hub import notebook_login notebook_login() in my jupyter notebook the UI for entering the token.
Read more >Token cannot be pasted in JupyterNotebook in VScode #752
Hi, I am using jupyternotebook via VScode. But When I run from huggingface_hub import notebook_login notebook_login() I copy the Token, ...
Read more >Security in the Jupyter notebook server - Read the Docs
When token authentication is enabled, the notebook uses a token to authenticate requests. This token can be provided to login to the notebook...
Read more >Azure AD authentication & authorization error codes
Learn about the AADSTS error codes that are returned from the Azure AD security token service (STS).
Read more >Message "Support for password authentication was removed ...
Step 7 - After that, a new token has been generated. Copy that generated token and use this token to access Git with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue was fixed with this PR I believe. Thanks all!!
@nateraw I haven’t used the datasets converter tool but here is a simple colab where
notebook_login
works correctly on0.10.0rc0
. Could you checkhuggingface_hub
is correctly installed ?