You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 'C:\\Users\\harry\\.cache\\huggingface\\token' file - which is not really a problem with huggingface_hub itself. This should not be the case if you run it from harry user. Could you check manually that you have the permission to do it? (for example with touch C:\\Users\\harry\\.cache\\huggingface\\token' on WSL).
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: