Hi… I see a few other huggingface login threads but they don’t help unfortunately. Mostly the threads advise the token input appears blank. I realise right clicking actually pastes and I’ve tried this manually and edited in users.py file.
I have installed Release Version: Python 3.10.6
Both attempts give the same result. I have also tried as suggested installing Git-2.38.1-64-bit (Git for Windows).
CMD as Admin, using activate and huggingface-cli login, as follows:
(myAMD_venv) C:\Users\me\myPython\myStable Diffusion\myAMD_venv\Scripts>huggingface-cli login
outputs this error info…
Traceback (most recent call last):
File "C:\Users\me\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\me\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\Scripts\huggingface-cli.exe\__main__.py", line 7, in <module>
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\lib\site-packages\huggingface_hub\commands\huggingface_cli.py", line 45, in main
service.run()
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\lib\site-packages\huggingface_hub\commands\user.py", line 149, in run
_login(self._api, token=token)
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\lib\site-packages\huggingface_hub\commands\user.py", line 320, in _login
hf_api.set_access_token(token)
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\lib\site-packages\huggingface_hub\hf_api.py", line 719, in set_access_token
write_to_credential_store(USERNAME_PLACEHOLDER, access_token)
File "C:\Users\me\myPython\myStable Diffusion\myAMD_venv\lib\site-packages\huggingface_hub\hf_api.py", line 588, in write_to_credential_store
with subprocess.Popen(
File "C:\Users\me\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\me\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
I am following a youtube Stable Defusion AMD install (Run Stable Diffusion With AMD GPU (RX580) On Windows - YouTube) and while many appear to have successfully followed the tutorial with success - I see several others run into trouble exactly where I have at huggingface-cli login.
I would be grateful if some advice could help me progress… thanks