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

llm install llm-sentence-transformers results in error #636

Open
axel-at-drom opened this issue Nov 17, 2024 · 0 comments
Open

llm install llm-sentence-transformers results in error #636

axel-at-drom opened this issue Nov 17, 2024 · 0 comments

Comments

@axel-at-drom
Copy link

axel-at-drom commented Nov 17, 2024

I'm trying to install llm-sentence-transformers for using local embeddings models, but when I run

llm install llm-sentence-transformers

I get a long output and at the end:

ERROR: Cannot install llm-sentence-transformers because these package versions have conflicting dependencies.

The conflict is caused by:
sentence-transformers 3.3.0 depends on torch>=1.11.0
sentence-transformers 3.2.1 depends on torch>=1.11.0
sentence-transformers 3.2.0 depends on torch>=1.11.0
sentence-transformers 3.1.1 depends on torch>=1.11.0
sentence-transformers 3.1.0 depends on torch>=1.11.0
sentence-transformers 3.0.1 depends on torch>=1.11.0
sentence-transformers 3.0.0 depends on torch>=1.11.0
sentence-transformers 2.7.0 depends on torch>=1.11.0
sentence-transformers 2.6.1 depends on torch>=1.11.0
sentence-transformers 2.6.0 depends on torch>=1.11.0
sentence-transformers 2.5.1 depends on torch>=1.11.0
sentence-transformers 2.5.0 depends on torch>=1.11.0
sentence-transformers 2.4.0 depends on torch>=1.11.0
sentence-transformers 2.3.1 depends on torch>=1.11.0
sentence-transformers 2.3.0 depends on torch>=1.11.0
sentence-transformers 2.2.2 depends on torch>=1.6.0
sentence-transformers 2.2.1 depends on torch>=1.6.0
sentence-transformers 2.2.0 depends on torch>=1.6.0
sentence-transformers 2.1.0 depends on torch>=1.6.0
sentence-transformers 2.0.0 depends on torch>=1.6.0
sentence-transformers 1.2.1 depends on torch>=1.6.0
sentence-transformers 1.2.0 depends on torch>=1.6.0
sentence-transformers 1.1.1 depends on torch>=1.6.0
sentence-transformers 1.1.0 depends on torch>=1.6.0
sentence-transformers 1.0.4 depends on torch>=1.6.0
sentence-transformers 1.0.3 depends on torch>=1.6.0
sentence-transformers 1.0.2 depends on torch>=1.6.0
sentence-transformers 1.0.1 depends on torch>=1.6.0
sentence-transformers 1.0.0 depends on torch>=1.6.0
sentence-transformers 0.4.1.2 depends on torch>=1.6.0
sentence-transformers 0.4.1.1 depends on torch>=1.6.0
sentence-transformers 0.4.1 depends on torch>=1.6.0
sentence-transformers 0.4.0 depends on torch>=1.6.0
sentence-transformers 0.3.9 depends on torch>=1.6.0
sentence-transformers 0.3.8 depends on torch>=1.2.0
sentence-transformers 0.3.7.2 depends on torch>=1.2.0
sentence-transformers 0.3.7.1 depends on torch>=1.2.0
sentence-transformers 0.3.7 depends on torch>=1.2.0
sentence-transformers 0.3.6 depends on torch>=1.2.0
sentence-transformers 0.3.5.1 depends on torch>=1.2.0
sentence-transformers 0.3.5 depends on torch>=1.2.0
sentence-transformers 0.3.4 depends on torch>=1.2.0
sentence-transformers 0.3.3 depends on torch>=1.2.0
sentence-transformers 0.3.2 depends on torch>=1.2.0
sentence-transformers 0.3.1 depends on torch>=1.2.0
sentence-transformers 0.3.0 depends on torch>=1.0.1
sentence-transformers 0.2.6.2 depends on torch>=1.0.1
sentence-transformers 0.2.6.1 depends on torch>=1.0.1
sentence-transformers 0.2.5.1 depends on torch>=1.0.1
sentence-transformers 0.2.5 depends on torch>=1.0.1
sentence-transformers 0.2.4.1 depends on torch>=1.0.1
sentence-transformers 0.2.4 depends on torch>=1.0.1
sentence-transformers 0.2.3 depends on torch>=1.0.1
sentence-transformers 0.2.2 depends on torch>=1.0.1
sentence-transformers 0.2.1 depends on torch>=1.0.1
sentence-transformers 0.2.0 depends on torch>=1.0.1
sentence-transformers 0.1.0 depends on torch>=1.0.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

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


M1 Mac
Python version is 3.10.11
llm version: 017.1
Installed using Homebrew

--no-cache-dir and --force-reinstall don't help

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