Open HarryLyness opened 2 months ago
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
System info