Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5962

subprocess.run(["huggingface-cli", "login", "--token", TOKEN]) works on mac but not on Ubuntu

$
0
0

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?


Viewing all articles
Browse latest Browse all 5962

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>