Skip to content

requirements.txt dependencies conflict #3

@ReiSakisaka

Description

@ReiSakisaka

I tried everything. Switching to Anaconda, downloading package versions so they don't conflict, and other things. But I can't make it work.

ERROR: Cannot install -r requirements.txt (line 13), -r requirements.txt (line 24), -r requirements.txt (line 33), -r requirements.txt (line 42), -r requirements.txt (line 64), -r requirements.txt (line 68), -r requirements.txt (line 78), -r requirements.txt (line 82) and numpy==1.22.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested numpy==1.22.0
blis 0.7.11 depends on numpy>=1.19.0; python_version >= "3.9"
contourpy 1.2.1 depends on numpy>=1.20
encodec 0.1.1 depends on numpy
gruut 2.2.3 depends on numpy<2.0.0 and >=1.19.0
librosa 0.10.0 depends on numpy>=1.20.3
matplotlib 3.8.4 depends on numpy>=1.21
numba 0.59.1 depends on numpy<1.27 and >=1.22
pandas 1.5.3 depends on numpy>=1.21.0; python_version >= "3.10"
pandas 1.5.3 depends on numpy>=1.23.2; python_version >= "3.11"

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
(.venv) PS C:\Users\Death\ai-iris-avatar-master> python --version
Python 3.11.0
(.venv) PS C:\Users\Death\ai-iris-avatar-master> python.exe main.py serve --config "config_xtts.yaml"
Traceback (most recent call last):
File "C:\Users\Death\ai-iris-avatar-master\main.py", line 1, in
from termcolor import colored
ModuleNotFoundError: No module named 'termcolor'
(.venv) PS C:\Users\Death\ai-iris-avatar-master>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions