Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComfyUI: huggingface-hub>=0.24.0,<1.0 is required but found 0.23.4 #29

Open
RaemyS opened this issue Jan 17, 2025 · 0 comments
Open

ComfyUI: huggingface-hub>=0.24.0,<1.0 is required but found 0.23.4 #29

RaemyS opened this issue Jan 17, 2025 · 0 comments

Comments

@RaemyS
Copy link

RaemyS commented Jan 17, 2025

Hi there,

I try to run your comfy custom nodes but after installation, i get this error stack on startup of ComfyUI:

Traceback (most recent call last):
  File "/home/xyz/pinokio/api/comfy.git/app/main.py", line 136, in <module>
    import execution
  File "/home/xyz/pinokio/api/comfy.git/app/execution.py", line 13, in <module>
    import nodes
  File "/home/xyz/pinokio/api/comfy.git/app/nodes.py", line 22, in <module>
    import comfy.diffusers_load
  File "/home/xyz/pinokio/api/comfy.git/app/comfy/diffusers_load.py", line 3, in <module>
    import comfy.sd
  File "/home/xyz/pinokio/api/comfy.git/app/comfy/sd.py", line 23, in <module>
    from . import model_detection
  File "/home/xyz/pinokio/api/comfy.git/app/comfy/model_detection.py", line 1, in <module>
    import comfy.supported_models
  File "/home/xyz/pinokio/api/comfy.git/app/comfy/supported_models.py", line 5, in <module>
    from . import sd1_clip
  File "/home/xyz/pinokio/api/comfy.git/app/comfy/sd1_clip.py", line 3, in <module>
    from transformers import CLIPTokenizer
  File "/home/xyz/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/transformers/__init__.py", line 26, in <module>
    from . import dependency_versions_check
  File "/home/xyz/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 57, in <module>
    require_version_core(deps[pkg])
  File "/home/xyz/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/transformers/utils/versions.py", line 117, in require_version_core
    return require_version(requirement, hint)
  File "/home/xyz/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/transformers/utils/versions.py", line 111, in require_version
    _compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
  File "/home/xyz/pinokio/api/comfy.git/app/env/lib/python3.10/site-packages/transformers/utils/versions.py", line 44, in _compare_versions
    raise ImportError(
ImportError: huggingface-hub>=0.24.0,<1.0 is required for a normal functioning of this module, but found huggingface-hub==0.23.4.

I have to reset ComfyUI after this error to be able to run it again.

huggingface-hub 0.23.4 is installed according to your requirements.txt file. So my question: are you able to update your dependency of huggingface-hub to version >=0.24 to be compatible with my ComfyUI-Version (v0.3.12-1-g7fc3ccdc)?

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant