I am tring to run subprocess.run(["huggingface-cli", "login", "--token", TOKEN])
in a Jupyter notebook, which works on Mac but gets the following error on Ubuntu. I checked that pip install huggingface_hub
has been executed.
subprocess.run(["git", "lfs", "install"])
works.
!huggingface-cli login
in the jupyter cell gets the error /bin/bash: huggingface-cli: command not found
Anyone can help?