[GH-ISSUE #180] Numpy dependency conflict #105

Open
opened 2026-10-15 18:04:27 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @aolko on GitHub (Oct 26, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/180

Python 3.11.6, vs c++ build tools 2022, installing via launcher

ERROR: Cannot install -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 11), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 13), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 14), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 15), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 16), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 17), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 18), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 23) and -r D:\Programs\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
Originally created by @aolko on GitHub (Oct 26, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/180 Python 3.11.6, vs c++ build tools 2022, installing via [launcher](https://github.com/BlueprintCoding/SillyTavernSimpleLauncher) ``` ERROR: Cannot install -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 11), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 13), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 14), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 15), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 16), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 17), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 18), -r D:\Programs\SillyTavern-extras\requirements-complete.txt (line 23) and -r D:\Programs\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 ```
Author
Owner

@Cohee1207 commented on GitHub (Oct 26, 2023):

Is there any specific module you are trying to use? TTS (coqui) package is creating the most incompatibilities so if you don't need it - remove from dependencies

<!-- gh-comment-id:1781742493 --> @Cohee1207 commented on GitHub (Oct 26, 2023): Is there any specific module you are trying to use? TTS (coqui) package is creating the most incompatibilities so if you don't need it - remove from dependencies
Author
Owner

@aolko commented on GitHub (Oct 26, 2023):

Is there any specific module you are trying to use? TTS (coqui) package is creating the most incompatibilities so if you don't need it - remove from dependencies

No, since i don't have to pick any modules yet. All i did is press that launcher button

<!-- gh-comment-id:1781747617 --> @aolko commented on GitHub (Oct 26, 2023): > Is there any specific module you are trying to use? TTS (coqui) package is creating the most incompatibilities so if you don't need it - remove from dependencies No, since i don't have to pick any modules yet. All i did is press that launcher button ![](https://i.imgur.com/qJEVB3B.png)
Author
Owner

@hidoba commented on GitHub (Oct 28, 2023):

Same here. I specifically need TTS.

<!-- gh-comment-id:1783858621 --> @hidoba commented on GitHub (Oct 28, 2023): Same here. I specifically need TTS.
Author
Owner

@Cohee1207 commented on GitHub (Oct 28, 2023):

@hidoba do you have both Python 3.11 and VS build tools installed?

<!-- gh-comment-id:1783872989 --> @Cohee1207 commented on GitHub (Oct 28, 2023): @hidoba do you have both Python 3.11 and VS build tools installed?
Author
Owner

@Ph0rk0z commented on GitHub (Oct 28, 2023):

It's working fine for me with 1.24.4 in linux and also with new coqui. Just change the versions in requirements.txt.

<!-- gh-comment-id:1783916208 --> @Ph0rk0z commented on GitHub (Oct 28, 2023): It's working fine for me with 1.24.4 in linux and also with new coqui. Just change the versions in requirements.txt.
Author
Owner

@aolko commented on GitHub (Oct 29, 2023):

It's working fine for me with 1.24.4 in linux and also with new coqui. Just change the versions in requirements.txt.

send the gist with fixed versions?

<!-- gh-comment-id:1783955771 --> @aolko commented on GitHub (Oct 29, 2023): > It's working fine for me with 1.24.4 in linux and also with new coqui. Just change the versions in requirements.txt. send the gist with fixed versions?
Author
Owner

@Ph0rk0z commented on GitHub (Oct 29, 2023):

Just install https://pypi.org/project/TTS/#files for your python version and do pip install numpy==1.24.4, that's all there is to it. I am at the point of ignoring people's requirements.txt and updating what needs to be done manually. Too many cases of trying to downgrade torch/transformers for me or other packages for no reason.

<!-- gh-comment-id:1784100331 --> @Ph0rk0z commented on GitHub (Oct 29, 2023): Just install https://pypi.org/project/TTS/#files for your python version and do pip install numpy==1.24.4, that's all there is to it. I am at the point of ignoring people's requirements.txt and updating what needs to be done manually. Too many cases of trying to downgrade torch/transformers for me or other packages for no reason.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#105
No description provided.