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?
jupyter or colab
!huggingface-cli login --token hf_KjwGsxQLURmKdftszadObzCcRXaeTC
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With