simonw / llm

Access large language models from the command-line
https://llm.datasette.io
Apache License 2.0
4.81k stars 266 forks source link

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

Open axel-at-drom opened 5 days ago

axel-at-drom commented 5 days ago

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