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.

Unable to find a version that satisfies the requirement huggingface-hub to install diffusers

See original GitHub issue

Describe the bug

while trying to setup development environment by using command(pip install -e “.[dev]”) within diffusers cloned repro folder I am getting ERROR: Could not find a version that satisfies the requirement huggingface-hub<1.0,>=0.8.1

I have tried downgrading default huggingface_hub = 0.4.1 to 0.0.19 to 0.1.0 but no use, I am not able to install the diffusers . what is the correct version of huggingface_hub which needs to be installed

Reproduction

Follow CONTRIBUTING.md file steps

Follow these steps to start contributing (supported Python versions):

  1. Fork the repository by clicking on the ‘Fork’ button on the repository’s page. This creates a copy of the code under your GitHub user account.

  2. Clone your fork to your local disk, and add the base repository as a remote:

    $ git clone git@github.com:<your Github handle>/diffusers.git
    $ cd diffusers
    $ git remote add upstream https://github.com/huggingface/diffusers.git
    
  3. Create a new branch to hold your development changes:

    $ git checkout -b a-descriptive-name-for-my-changes
    

    Do not work on the main branch.

  4. Set up a development environment by running the following command in a virtual environment:

    $ pip install -e ".[dev]"
    

    (If diffusers was already installed in the virtual environment, remove it with pip uninstall diffusers before reinstalling it in editable mode with the -e flag.)

Logs

No response

System Info

ERROR: Could not find a version that satisfies the requirement huggingface-hub<1.0,>=0.8.1 (from diffusers[dev]) (from versions: 0.0.1, 0.0.2, 0.0.3rc1, 0.0.3rc2, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.4.0)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
rashmimarganiatgithubcommented, Sep 5, 2022

@bubbleshark , issue resolved by installing python > 3.7. thanks.

1reaction
bubblesharkcommented, Sep 4, 2022

Hi @rashmimarganiatgithub , huggingface_hub 3.9.1 requires: Python >=3.7.0. Please checkout the python version that you are using is upper than 3.7.0 or not. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install error #5850 - huggingface/transformers - GitHub
Hi, I tried to install transformers library via pip install transformers ... ERROR: Could not find a version that satisfies the requirement ......
Read more >
Installation - Hugging Face
Your Python environment will find the main version of Transformers on the next run. Install with conda. Install from the conda channel huggingface...
Read more >
huggingface-hub - PyPI
Client library to download and publish models, datasets and other repos on the huggingface.co hub.
Read more >
python - Could not find a version that satisfies the requirement ...
When I run the second pip install command again, the process is stopped now complaining about another required package and I need to...
Read more >
Prompt_based_Image_In_Painti...
pip install diffusers -q ... (from huggingface-hub>=0.8.1->diffusers) (21.3) Requirement already satisfied: ... pip install transformers -q -UU ftfy gradio.
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