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

pip3 install fairseq2 - doesn't work #471

Open
twerff opened this issue Apr 24, 2024 · 1 comment · May be fixed by #499
Open

pip3 install fairseq2 - doesn't work #471

twerff opened this issue Apr 24, 2024 · 1 comment · May be fixed by #499
Labels
question Further information is requested

Comments

@twerff
Copy link

twerff commented Apr 24, 2024

I'm trying to install seamlessm4q on my Macbook M2. Installation results in an error related to fairseq2.
So, I tried to manually install fairseq using % pip3 install fairseq2. It gives the following error:

Collecting fairseq2
  Downloading fairseq2-0.2.1-py3-none-any.whl.metadata (1.2 kB)
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
  Downloading fairseq2-0.2.0-py3-none-any.whl.metadata (1.2 kB)
  Downloading fairseq2-0.1.1-py3-none-any.whl.metadata (1.2 kB)
  Downloading fairseq2-0.1.0-py3-none-any.whl.metadata (1.2 kB)
ERROR: Cannot install fairseq2==0.1.0, fairseq2==0.1.1, fairseq2==0.2.0 and fairseq2==0.2.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    fairseq2 0.2.1 depends on fairseq2n==0.2.1
    fairseq2 0.2.0 depends on fairseq2n==0.2.0
    fairseq2 0.1.1 depends on fairseq2n==0.1.1
    fairseq2 0.1.0 depends on fairseq2n==0.1.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

Can anyone help me out?

@twerff twerff added the question Further information is requested label Apr 24, 2024
@twerff twerff closed this as completed Apr 24, 2024
@twerff twerff reopened this Apr 24, 2024
@theoparis theoparis linked a pull request May 5, 2024 that will close this issue
7 tasks
@MountainGG
Copy link

same problem on ubuntu22.04(wsl2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants