question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

after install huggingface_hub with pip, the huggingface_cli command not found

See original GitHub issue

Describe the bug

after install huggingface_hub with pip, the huggingface_cli command not found

Reproduction

No response

Logs

No response

System Info

os: MAC OS 11.6.8

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xiongmacommented, Sep 27, 2022

thanks, it works

1reaction
Wauplincommented, Sep 27, 2022

@xiongma hmm, it seems that huggingface_hub is correctly installed so the problem might be with your $PATH variable. Could you try the solution proposed here: https://stackoverflow.com/a/62151306 ?

e.g. updating your $PATH like this:

# Taken from https://stackoverflow.com/a/62151306
echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc

(depending on your setup, you might want to update your .bashrc or .zshrc or any config file you use)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quick start - Hugging Face
To get started, you should install the huggingface_hub library. ... Once you have your User Access Token, run the following command in your...
Read more >
transformers command not found after installing ... - GitHub
I wanted to convert TF checkpoints to pytorch saved files and thus I followed instructions as mentioned in the link ...
Read more >
StableDiffusion Colab - How to "make sure you're logged in ...
I logged in with my token (Read) - login successful. However it still returns the same error on the attempt to download the...
Read more >
Projects · spaCy Usage Documentation
Since spaCy v3.4.2, spacy projects run checks your installed dependencies to verify ... The project assets command will alert you about missing files...
Read more >
Hugging Face — Sentence-Transformers documentation
All models on the Hugging Face Hub come with the following: An automatically generated model card with ... pip install huggingface_hub huggingface-cli login....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found