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

Compatibility errors between Diart requirements and Pyannote #160

Closed
Farissoliman opened this issue Jul 6, 2023 · 2 comments
Closed

Compatibility errors between Diart requirements and Pyannote #160

Farissoliman opened this issue Jul 6, 2023 · 2 comments
Labels
ops Improvements to the project that don't impact the code urgent Something requires urgent attention
Milestone

Comments

@Farissoliman
Copy link

After following the instructions on the README file, when I run pip install diart, I get this error message:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. 
This behaviour is the source of the following dependency conflicts.
pyannote-audio 2.1.1 requires torchaudio>=2.0.0, but you have torchaudio 0.13.1 which is incompatible.

I then try running pip install git+https://github.com/pyannote/pyannote-audio.git@develop#egg=pyannote-audio to get the latest form of pyannote-audio which includes torchaudio-2.0.2, but then I get this error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. 
This behaviour is the source of the following dependency conflicts.
diart 0.5.1 requires torchaudio<1.0,>=0.10, but you have torchaudio 2.0.2 which is incompatible.

Is there any fix or merge that I can do to fix these issues?

@Farissoliman Farissoliman closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2023
@juanmc2005
Copy link
Owner

Hi @Farissoliman, currently the installation is a bit clunky. This is also related to #158.
This is something on which I'm going to put special focus on in the coming weeks. Currently I'm just lacking the time to address it because diart's not my main job.

For now you can ignore this warning and use the newest torchaudio version, which should work well. Also, make sure you install the latest version v0.7, you're currently installing v0.5.1.

If you want to contribute, adding an environment.yml file with the latest working packages would be an amazing start.

@juanmc2005 juanmc2005 reopened this Jul 10, 2023
@juanmc2005 juanmc2005 added this to the Version 0.8 milestone Jul 10, 2023
@juanmc2005 juanmc2005 added the ops Improvements to the project that don't impact the code label Jul 10, 2023
@juanmc2005 juanmc2005 added the urgent Something requires urgent attention label Oct 11, 2023
@juanmc2005
Copy link
Owner

Fix implemented in #181. It will appear in next release (v0.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops Improvements to the project that don't impact the code urgent Something requires urgent attention
Projects
None yet
Development

No branches or pull requests

2 participants