facebookresearch / facebookresearch/fairseq2

pip3 install fairseq2 - doesn't work

Open
#471 9 comments 5 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
1.1k
Forks
144
Avg merge
4d 1h
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.