Unable to find a version that satisfies the requirement huggingface-hub to install diffusers
See original GitHub issueDescribe 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):
-
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.
-
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
-
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. -
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:
- Created a year ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
@bubbleshark , issue resolved by installing python > 3.7. thanks.
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