SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

Numpy version conflict #167

Closed Desne closed 1 year ago

Desne commented 1 year ago

Edit: I am dumb wiped the environment and did a clean reinstall that solved the problem.

Hey i tried to reinstall ST-extras i have tried several times but it alwasy ends with this error message.

ERROR: Cannot install -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 11), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 13), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 14), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 15), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 16), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 17), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 18), -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 23) and -r C:\Users\thede\Desktop\SillyTavern-extras\requirements-complete.txt (line 25) because these package versions have conflicting dependencies.

The conflict is caused by:

torchvision 0.15.1 depends on numpy
accelerate 0.20.3 depends on numpy>=1.17
transformers 4.28.1 depends on numpy>=1.17
diffusers 0.17.1 depends on numpy
silero-api-server 0.2.9 depends on numpy
chromadb 0.4.10 depends on numpy>=1.22.5; python_version >= "3.8"
sentence-transformers 2.2.2 depends on numpy
openai-whisper 20230314 depends on numpy
tts 0.15.6 depends on numpy==1.22.0; python_version <= "3.10"

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

Maybe im dumb but i have tried everything but nothing works.