Skip to content

README installs incompatible huggingface_hub>=1.0.0 causing conflict with transformers #2

@abrichr

Description

@abrichr

The README instructs users to run:

pip install -U huggingface_hub

This installs huggingface_hub==1.0.0, which conflicts with the version required by transformers>=4.30.0 in requirements.txt (huggingface_hub<1.0).

Error message:

ERROR: transformers 4.57.1 requires huggingface-hub<1.0,>=0.34.0, but you have huggingface-hub 1.0.0 which is incompatible.

Reproduction

conda create -n videoagenttrek python=3.10
conda activate videoagenttrek
pip install -r requirements.txt
pip install -U huggingface_hub

Suggested fix

  • Pin huggingface_hub<1.0.0 in the README
    or
  • Upgrade transformers in requirements.txt to a version supporting huggingface_hub>=1.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions