seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

ERROR: Cannot install -r requirements.txt (line 1) because these package versions have conflicting dependencies.

Open raheelahmad786 opened this issue 2 years ago • 4 comments

ERROR: Cannot install -r requirements.txt (line 1) because these package versions have conflicting dependencies.

The conflict is caused by: 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

raheelahmad786 avatar Sep 09 '23 19:09 raheelahmad786

I receive this same error on an Ubuntu 22.04 aarch64 server. requirements.txt looks like:

git+https://github.com/facebookresearch/seamless_communication

Python is 3.10.12.

joe-rh avatar Sep 13 '23 20:09 joe-rh

Exact same problem.

Microsoft Windows [Version 10.0.22621.2283]
Arch=AMD64
Python 3.11.5
pip 23.2.1 
conda 23.7.4

steaverhub avatar Sep 25 '23 02:09 steaverhub

Is this issue related? https://github.com/facebookresearch/fairseq2/issues/43

fyi, output:

Collecting fairseq2==0.1.* (from seamless-communication==1.0.0)
  Obtaining dependency information for fairseq2==0.1.* from https://files.pythonhosted.org/packages/c6/55/d52c17d0a11ee75df5686ad7fdd4f5d0e97459424493f6802ec3a80c0e61/fairseq2-0.1.1-py3-none-any.whl.metadata
  Using cached fairseq2-0.1.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.
  Obtaining dependency information for fairseq2==0.1.* from https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl.metadata
  Using cached fairseq2-0.1.0-py3-none-any.whl.metadata (1.2 kB)
ERROR: Cannot install seamless-communication because these package versions have conflicting dependencies.

The conflict is caused by:
    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

steaverhub avatar Sep 25 '23 02:09 steaverhub

One of the prerequisites of SeamlessM4T is [fairseq2](https://github.com/facebookresearch/fairseq2) which has pre-built packages available only for Linux x84-86 and Apple-silicon Mac computers. In addition it has a dependency on [libsndfile](https://github.com/libsndfile/libsndfile) which might not be installed on your machine. If you experience any installation issues, please refer to its [README](https://github.com/facebookresearch/fairseq2) for further instructions.

it wont run on windows as they never made windows libraries

Tom-Neverwinter avatar Oct 03 '23 18:10 Tom-Neverwinter