Skip to content

Instantly share code, notes, and snippets.

@crypdick
Created February 24, 2024 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crypdick/ddd281b3c0a2fac615e405a92347bd02 to your computer and use it in GitHub Desktop.
Save crypdick/ddd281b3c0a2fac615e405a92347bd02 to your computer and use it in GitHub Desktop.
Error building obsidian-copilot
11.09 INFO: pip is looking at multiple versions of transformers to determine which version is compatible with other requirements. This could take a while.
11.10 ERROR: Cannot install -r requirements.txt (line 10) and tokenizers==0.13.3 because these package versions have conflicting dependencies.
11.10
11.10 The conflict is caused by:
11.10 The user requested tokenizers==0.13.3
11.10 transformers 4.36.0 depends on tokenizers<0.19 and >=0.14
11.10
11.10 To fix this you could try to:
11.10 1. loosen the range of package versions you've specified
11.10 2. remove package versions to allow pip attempt to solve the dependency conflict
11.10
11.10 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
------
Dockerfile:12
--------------------
11 |
12 | >>> RUN pip install --upgrade pip \
13 | >>> && pip install --no-cache-dir wheel \
14 | >>> && pip install --no-cache-dir -r requirements.txt \
15 | >>> && pip list
16 |
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --upgrade pip && pip install --no-cache-dir wheel && pip install --no-cache-dir -r requirements.txt && pip list" did not complete successfully: exit code: 1
make: *** [Makefile:44: build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment