Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirments conflicts for whisper-at and torch 2.1.0 during installation #9

Open
zhaozhenyu-newsbreak opened this issue Jan 9, 2024 · 4 comments

Comments

@zhaozhenyu-newsbreak
Copy link

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`

@guanhuankang
Copy link

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

@manishkumart
Copy link

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

@Tortoise17
Copy link

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

@Tortoise17
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants