-
Notifications
You must be signed in to change notification settings - Fork 540
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
notebook_login() fails for jupyter notebook #2417
Comments
Hi @HarryLyness, I'm sorry for the inconvenience. It looks like the Python interpreter running the Jupyter notebook don't have permission to write into |
Describe the bug
Logging on with google colabs works fine. When attempting to log in to huggingface on jupyter notebook
I get the following error.
[Errno 13] Permission denied:
I have also tried alternative methods, e.g.
Reproduction
from huggingface_hub import login
login(token=os.environ.get("HF_TOKEN"))
Logs
[Errno 13] Permission denied: 'C:\\Users\\harry\\.cache\\huggingface\\token'
System info
The text was updated successfully, but these errors were encountered: