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

Install fails with version conflict (ResolutionImpossible) #8

Open
jaraco opened this issue Apr 21, 2024 · 3 comments
Open

Install fails with version conflict (ResolutionImpossible) #8

jaraco opened this issue Apr 21, 2024 · 3 comments

Comments

@jaraco
Copy link

jaraco commented Apr 21, 2024

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.

@jaraco
Copy link
Author

jaraco commented Apr 21, 2024

I see in #2 "and requirements update". Maybe that's needed to get things to install.

@jaraco
Copy link
Author

jaraco commented Apr 21, 2024

Indeed, applying that PR, I'm almost able to get the requirements to install, seemingly only failing to get duckdb to build. If I bump duckdb to 0.10.2, the dependencies resolve.

jaraco added a commit to jaraco/DuckDB-NSQL that referenced this issue Apr 21, 2024
@jaraco
Copy link
Author

jaraco commented Apr 21, 2024

Oh, interesting. If I start from scratch, it still doesn't install due to another ResolutionImpossible:

ERROR: Cannot install manifest-ml and pydantic>2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pydantic>2
    manifest-ml 0.1.9 depends on pydantic<2.0 and >=1.9.0

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