Runtime error

#1
by ViperRool - opened
Exit code: 1. Reason: he-_j5smx8j/wheels/5c/1f/af/78f1e1f26455b6948976d5b8be006185175fa192dbd034dc35
Successfully built tipo-kgen
Installing collected packages: huggingface_hub, tokenizers, transformers, tipo-kgen
  Attempting uninstall: huggingface_hub
    Found existing installation: huggingface-hub 0.24.6
    Uninstalling huggingface-hub-0.24.6:
      Successfully uninstalled huggingface-hub-0.24.6
Successfully installed huggingface_hub-0.30.2 tipo-kgen-0.1.1 tokenizers-0.21.1 transformers-4.51.3

[notice] A new release of pip available: 22.3.1 -> 25.0.1
[notice] To update, run: pip install --upgrade pip
Error importing huggingface_hub.repocard: cannot import name 'EntryNotFoundError' from 'huggingface_hub.errors' (/usr/local/lib/python3.10/site-packages/huggingface_hub/errors.py)
Traceback (most recent call last):
  File "/home/user/app/app.py", line 19, in <module>
    from transformers import set_seed
  File "/usr/local/lib/python3.10/site-packages/transformers/__init__.py", line 26, in <module>
    from . import dependency_versions_check
  File "/usr/local/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 16, in <module>
    from .utils.versions import require_version, require_version_core
  File "/usr/local/lib/python3.10/site-packages/transformers/utils/__init__.py", line 73, in <module>
    from .hub import (
  File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 32, in <module>
    from huggingface_hub import (
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py", line 520, in __getattr__
    "AudioToAudioInput",
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repocard.py", line 23, in <module>
    from .errors import EntryNotFoundError
ImportError: cannot import name 'EntryNotFoundError' from 'huggingface_hub.errors' (/usr/local/lib/python3.10/site-packages/huggingface_hub/errors.py)

will there be fix?

I'm checking, never met this problem and the only one issue in github doesn't looks helpful

Looks like it is fixed

KBlueLeaf changed discussion status to closed

There are some other problems due to gradio shit...
I would try to totally rewrite it in near future, left this thread opened until that happen

KBlueLeaf changed discussion status to open

Sign up or log in to comment