mbzuai-oryx/Video-LLaVA

requirments conflicts for whisper-at and torch 2.1.0 during installation

Opened this issue · 4 comments

which runing "pip install -r requirements.txt", here comes an error:
`ERROR: Cannot install -r requirements.txt (line 1) and -r requirements.txt (line 19) because these package versions have conflicting dependencies.

The conflict is caused by:
torch 2.1.0 depends on triton==2.1.0; platform_system == "Linux" and platform_machine == "x86_64"
whisper-at 0.5 depends on triton==2.0.0

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`

Me too. I suffer from the same problem in Ubuntu22.04:
Collecting torch-audiomentations>=0.11.0 (from pyannote.audio==3.1.1->whisperx==3.1.1->-r requirements.txt (line 18))
Using cached torch_audiomentations-0.11.1-py3-none-any.whl.metadata (14 kB)
Collecting torchmetrics>=0.11.0 (from pyannote.audio==3.1.1->whisperx==3.1.1->-r requirements.txt (line 18))
Using cached torchmetrics-1.3.1-py3-none-any.whl.metadata (19 kB)
INFO: pip is looking at multiple versions of whisper-at to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 1) and -r requirements.txt (line 19) because these package versions have conflicting dependencies.

The conflict is caused by:
torch 2.1.0 depends on triton==2.1.0; platform_system == "Linux" and platform_machine == "x86_64"
whisper-at 0.5 depends on triton==2.0.0

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

I'm encountering the same problem. Despite attempting with various versions, the error persists.

@manishkumart Install one by one each requirement and it will lead to successful installation. In 1 GO, it makes some conflicts.

@guanhuankang Install whisperx first separately. Than, remaining other than whisper install with pip -r requirements.txt or you can make it one by one. It will get installed successfully.