Skip to content

Install fails with version conflict (ResolutionImpossible) #8

@jaraco

Description

@jaraco

After bypassing #5 by disabling the flash-attn dependency, I run pip install -r requirements.txt and I encounter this failure:

 @ DuckDB-NSQL main @ py -m pip install -r requirements.txt
...
INFO: pip is looking at multiple versions of manifest-ml[all] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 21), manifest-ml[all]==0.1.8 and transformers>=4.34.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested transformers>=4.34.1
    peft 0.6.0 depends on transformers
    manifest-ml[all] 0.1.8 depends on transformers<4.31.0 and >=4.29.0; extra == "all"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Indeed, I see transformers>=4.34.1 and manifest-ml[all]==0.1.8 in the requirements, so it seems this set of requirements was never solveable.

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