seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

The installation cannot be competed

Open AlekseiLitvin opened this issue 1 year ago • 39 comments

PIP version: pip 23.2.1 Python version: python 3.10 Error message after running pip install fairseq2==0.1:

Collecting fairseq2==0.1
  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)
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0

AlekseiLitvin avatar Aug 22 '23 17:08 AlekseiLitvin

Do you mind sharing which operating system, PyTorch, and Python version you are using?

cbalioglu avatar Aug 22 '23 17:08 cbalioglu

PyTorch version: 2.0.1+cpu OS: Windows 10 Version 10.0.19045 Build 19045 Python: 3.10

AlekseiLitvin avatar Aug 22 '23 17:08 AlekseiLitvin

@cndn I think we should mention the (transitive) system requirements in seamless_communication README.

@AlekseiLitvin thanks for the quick reply. As of today, fairseq2 supports only Linux and macOS. Our pip packages are available for Linux and soon we plan to publish macOS builds as well.

cbalioglu avatar Aug 22 '23 17:08 cbalioglu

same issue here:

OS : Windows 11 Pro , 22000.2295 Python: 3.10 pytorch 2.0.1+cuda11.8

Same error in another linux machine

OS : OS: Ubuntu 20.04.6 LTS Python 3.8.10 pytorch 2.0.1+cuda11.8

astrowar avatar Aug 22 '23 17:08 astrowar

@astrowar we haven't documented it yet since we are working on setting up the SSL/TLS certificates, but, on your Linux machine, could you give the following command a try?

pip install --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2

Note that this is a temporary command till we get our domain and certificate set up (which we aim to have later this week).

cbalioglu avatar Aug 22 '23 17:08 cbalioglu

@astrowar we haven't documented it yet since we are working on setting up the SSL/TLS certificates, but, on your Linux machine, could you give the following command a try?

pip install --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2

Note that this is a temporary command till we get our domain and certificate set up (which we aim to have later this week).

(venv) astro@ubuntu:~/dev/voz$ pip install --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2
Looking in indexes: https://pypi.org/simple, http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
Collecting fairseq2
  Using cached fairseq2-0.1.0-py3-none-any.whl (162 kB)
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0 (from fairseq2)

astrowar avatar Aug 22 '23 17:08 astrowar

@astrowar could you also share your pip version? To be on the safe side, you can also do a pip install --upgrade pip. Also would be nice to get detailed log output (i.e. pip install --verbose).

cbalioglu avatar Aug 22 '23 17:08 cbalioglu

Pip default: 20.0.2 Successfully installed pip-23.2.1 new venv, pip upgrade ... new error

 (voz2) astro@ubuntu:~/dev/voz$ pip install --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2
Looking in indexes: https://pypi.org/simple, http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
Collecting fairseq2
  Obtaining dependency information for fairseq2 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)
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0

astrowar avatar Aug 22 '23 17:08 astrowar

Ok assuming you are on Ubuntu, have pip 23.1, torch 2.0.1 and CUDA 11.8, could you please share the stdout/stderr of the pip install command with --verbose flag added?

cbalioglu avatar Aug 22 '23 17:08 cbalioglu

I have exactly the same issue on MacOs Ventura 13.2.1:

pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2 --verbose
Using pip 23.2.1 from /Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip (python 3.10)
Non-user install because user site-packages disabled
Created temporary directory: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-build-tracker-u98d33zv
Initialized build tracking at /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-build-tracker-u98d33zv
Created build tracker: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-build-tracker-u98d33zv
Entered build tracker: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-build-tracker-u98d33zv
Created temporary directory: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-install-4ubetuy0
Created temporary directory: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-ephem-wheel-cache-18i5ngj9
Looking in indexes: https://pypi.org/simple, http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
2 location(s) to search for versions of fairseq2:
* https://pypi.org/simple/fairseq2/
* http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2/
Getting page https://pypi.org/simple/fairseq2/
Found index url https://pypi.org/simple/
Looking up "https://pypi.org/simple/fairseq2/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/fairseq2/ HTTP/1.1" 304 0
Fetched page https://pypi.org/simple/fairseq2/ as application/vnd.pypi.simple.v1+json
  Found link https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8), version: 0.1.0
Fetching project page and analyzing links: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Getting page http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Found index url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/
Looking up "http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTP connection (1): fair-package-repo.s3-website-us-east-1.amazonaws.com:80
http://fair-package-repo.s3-website-us-east-1.amazonaws.com:80 "GET /fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/ HTTP/1.1" 404 388
Status code 404 not in (200, 203, 300, 301, 308)
Could not fetch URL http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/: 404 Client Error: Not Found for url: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/ - skipping
Skipping link: not a file: https://pypi.org/simple/fairseq2/
Skipping link: not a file: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Given no hashes to check 1 links for project 'fairseq2': discarding no candidates
Collecting fairseq2
  Obtaining dependency information for fairseq2 from https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl.metadata
  Created temporary directory: /private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-unpack-m6fyfw83
  Looking up "https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl.metadata" in the cache
  Current age based on date: 4637
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 4637
  Using cached fairseq2-0.1.0-py3-none-any.whl.metadata (1.2 kB)
2 location(s) to search for versions of fairseq2n:
* https://pypi.org/simple/fairseq2n/
* http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2n/
Getting page https://pypi.org/simple/fairseq2n/
Found index url https://pypi.org/simple/
Looking up "https://pypi.org/simple/fairseq2n/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/fairseq2n/ HTTP/1.1" 304 0
Fetched page https://pypi.org/simple/fairseq2n/ as application/vnd.pypi.simple.v1+json
  Skipping link: none of the wheel's tags (cp310-cp310-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/21/e8/14d332f4b412578dca7631453704ad76ff2046b29f4bcddc48ca6dbea4f7/fairseq2n-0.1.0-cp310-cp310-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp311-cp311-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/c2/31/22f4c8d8b09b8eca1f27a0239f7051bbe3916a4b1cae215c460fd0b13bd4/fairseq2n-0.1.0-cp311-cp311-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp38-cp38-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/e5/25/e0b3775ddf8fbfe678c09c8b212ddb3e43f2996ef95a1121fbc183865156/fairseq2n-0.1.0-cp38-cp38-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp39-cp39-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/a8/df/dd0d2a4aec37e2bb1fb0b44c30a107b34bbc773fbf2c254757bcb5a75aea/fairseq2n-0.1.0-cp39-cp39-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
Fetching project page and analyzing links: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Getting page http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Found index url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/
Looking up "http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/" in the cache
Request header has "max_age" as 0, cache bypassed
http://fair-package-repo.s3-website-us-east-1.amazonaws.com:80 "GET /fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/ HTTP/1.1" 404 389
Status code 404 not in (200, 203, 300, 301, 308)
Could not fetch URL http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/: 404 Client Error: Not Found for url: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/ - skipping
Skipping link: not a file: https://pypi.org/simple/fairseq2n/
Skipping link: not a file: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Given no hashes to check 0 links for project 'fairseq2n': discarding no candidates
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
Will try a different candidate, due to conflict:
    fairseq2 0.1.0 depends on fairseq2n==0.1.0
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0
Exception information:
Traceback (most recent call last):
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 439, in resolve
    raise ResolutionImpossible(self.state.backtrack_causes)
pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('fairseq2n==0.1.0'), parent=LinkCandidate('https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8)'))]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 377, in run
    requirement_set = resolver.resolve(
  File "/Users/lubomirfranko/Documents/meta_ai/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve
    raise error from e
pip._internal.exceptions.DistributionNotFound: No matching distribution found for fairseq2n==0.1.0
Remote version of pip: 23.2.1
Local version of pip:  23.2.1
Was pip installed by pip? True
Removed build tracker: '/private/var/folders/j9/tl761w4j1k5gtvwtcmjr1bsc0000gn/T/pip-build-tracker-u98d33zv'

franko14 avatar Aug 22 '23 18:08 franko14

Using pip 23.2.1 from /home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip (python 3.8)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-build-tracker-3w1sphwr
Initialized build tracking at /tmp/pip-build-tracker-3w1sphwr
Created build tracker: /tmp/pip-build-tracker-3w1sphwr
Entered build tracker: /tmp/pip-build-tracker-3w1sphwr
Created temporary directory: /tmp/pip-install-xc0px9rj
Created temporary directory: /tmp/pip-ephem-wheel-cache-thszvp5i
1 location(s) to search for versions of fairseq2:
* https://pypi.org/simple/fairseq2/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2/
Getting page https://pypi.org/simple/fairseq2/
Found index url https://pypi.org/simple/
Looking up "https://pypi.org/simple/fairseq2/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/fairseq2/ HTTP/1.1" 304 0
Fetched page https://pypi.org/simple/fairseq2/ as application/vnd.pypi.simple.v1+json
  Found link https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8), version: 0.1.0
Skipping link: not a file: https://pypi.org/simple/fairseq2/
Given no hashes to check 1 links for project 'fairseq2': discarding no candidates
Collecting fairseq2==0.1
  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
  Created temporary directory: /tmp/pip-unpack-c1ds9cvt
  Looking up "https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl.metadata" in the cache
  Current age based on date: 631
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 631
  Using cached fairseq2-0.1.0-py3-none-any.whl.metadata (1.2 kB)
1 location(s) to search for versions of fairseq2n:
* https://pypi.org/simple/fairseq2n/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2n/
Getting page https://pypi.org/simple/fairseq2n/
Found index url https://pypi.org/simple/
Looking up "https://pypi.org/simple/fairseq2n/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/fairseq2n/ HTTP/1.1" 304 0
Fetched page https://pypi.org/simple/fairseq2n/ as application/vnd.pypi.simple.v1+json
  Skipping link: none of the wheel's tags (cp310-cp310-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/21/e8/14d332f4b412578dca7631453704ad76ff2046b29f4bcddc48ca6dbea4f7/fairseq2n-0.1.0-cp310-cp310-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp311-cp311-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/c2/31/22f4c8d8b09b8eca1f27a0239f7051bbe3916a4b1cae215c460fd0b13bd4/fairseq2n-0.1.0-cp311-cp311-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp38-cp38-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/e5/25/e0b3775ddf8fbfe678c09c8b212ddb3e43f2996ef95a1121fbc183865156/fairseq2n-0.1.0-cp38-cp38-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp39-cp39-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/a8/df/dd0d2a4aec37e2bb1fb0b44c30a107b34bbc773fbf2c254757bcb5a75aea/fairseq2n-0.1.0-cp39-cp39-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
Skipping link: not a file: https://pypi.org/simple/fairseq2n/
Given no hashes to check 0 links for project 'fairseq2n': discarding no candidates
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
Will try a different candidate, due to conflict:
    fairseq2 0.1.0 depends on fairseq2n==0.1.0
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0
Exception information:
Traceback (most recent call last):
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 439, in resolve
    raise ResolutionImpossible(self.state.backtrack_causes)
pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('fairseq2n==0.1.0'), parent=LinkCandidate('https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8)'))]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 377, in run
    requirement_set = resolver.resolve(
  File "/home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 101, in resolve
    raise error from e
pip._internal.exceptions.DistributionNotFound: No matching distribution found for fairseq2n==0.1.0
Remote version of pip: 23.2.1
Local version of pip:  23.2.1
Was pip installed by pip? True
Removed build tracker: '/tmp/pip-build-tracker-3w1sphwr'

astrowar avatar Aug 22 '23 18:08 astrowar

@franko14 right now we don't have pre-built packages available for macOS. For the time-being I suggest using a Linux box. We plan to have macOS wheels available pretty soon.

cbalioglu avatar Aug 22 '23 18:08 cbalioglu

@franko14 right now we don't have pre-built packages available for macOS. For the time-being I suggest using a Linux box. We plan to have macOS wheels available pretty soon.

The same error for Ubuntu Linux:

root@ubuntu<name>:~/meta-ai/seamless_communication# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@ubuntu<name>:~/meta-ai/seamless_communication# pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --extra-index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118 fairseq2 --verbose
Using pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-vnhtms98
Created temporary directory: /tmp/pip-req-tracker-m_xjtp7f
Initialized build tracking at /tmp/pip-req-tracker-m_xjtp7f
Created build tracker: /tmp/pip-req-tracker-m_xjtp7f
Entered build tracker: /tmp/pip-req-tracker-m_xjtp7f
Created temporary directory: /tmp/pip-install-ce4u43hh
Looking in indexes: https://pypi.org/simple, http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
2 location(s) to search for versions of fairseq2:
* https://pypi.org/simple/fairseq2/
* http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2/
Getting page https://pypi.org/simple/fairseq2/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/fairseq2/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/fairseq2/ HTTP/1.1" 304 0
  Found link https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl#sha256=e86af6d08a7bf6ee442dd0f34576c715e3890273a3f51935d06799d8b495337c (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8), version: 0.1.0
Fetching project page and analyzing links: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Getting page http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Found index url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
Looking up "http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTP connection (1): fair-package-repo.s3-website-us-east-1.amazonaws.com:80
http://fair-package-repo.s3-website-us-east-1.amazonaws.com:80 "GET /fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/ HTTP/1.1" 404 388
Status code 404 not in (200, 203, 300, 301, 308)
Could not fetch URL http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/: 404 Client Error: Not Found for url: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/ - skipping
Skipping link: not a file: https://pypi.org/simple/fairseq2/
Skipping link: not a file: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2/
Given no hashes to check 1 links for project 'fairseq2': discarding no candidates
Collecting fairseq2
  Created temporary directory: /tmp/pip-unpack-szkhy1if
  Looking up "https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl" in the cache
  Current age based on date: 85
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 85
  Using cached fairseq2-0.1.0-py3-none-any.whl (162 kB)
  Added fairseq2 from https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl#sha256=e86af6d08a7bf6ee442dd0f34576c715e3890273a3f51935d06799d8b495337c to build tracker '/tmp/pip-req-tracker-m_xjtp7f'
  Removed fairseq2 from https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl#sha256=e86af6d08a7bf6ee442dd0f34576c715e3890273a3f51935d06799d8b495337c from build tracker '/tmp/pip-req-tracker-m_xjtp7f'
2 location(s) to search for versions of overrides:
* https://pypi.org/simple/overrides/
* http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/
Fetching project page and analyzing links: https://pypi.org/simple/overrides/
Getting page https://pypi.org/simple/overrides/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/overrides/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/overrides/ HTTP/1.1" 200 5941
Updating cache with response from "https://pypi.org/simple/overrides/"
etag object cached for 1209600 seconds
Caching due to etag
  Found link https://files.pythonhosted.org/packages/24/a4/a728f5247635711d28621e528a5b2add45aabad123ab60cd60dd7b796a9e/overrides-0.1.tar.gz#sha256=2b8137406de9813b316eabe5e0884de4ac8ce045e835576dcd46c3a8c12683fa (from https://pypi.org/simple/overrides/), version: 0.1
  Found link https://files.pythonhosted.org/packages/53/84/983c062e075f78f6f11f2de7e042485d8a4ba41a54038593811f2dc9d140/overrides-0.2.tar.gz#sha256=32ca05ea07922c25adb0f32e18eb8fe65298c20713f21dca5fc6acebb0d919e9 (from https://pypi.org/simple/overrides/), version: 0.2
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/bf/69/04507aa963e59040bdc4b95d383f224ed302c84d8dbe5d12f42c7a828b96/overrides-0.3-py2.7.egg#sha256=c440e4b662f65a5081ec40a05af71968d6d1b302614dbe89b91a88c65ea60567 (from https://pypi.org/simple/overrides/)
  Found link https://files.pythonhosted.org/packages/75/46/7127b421996206732ec9cde32c79c7fb4a6211e3eb3f66d0d0fc1b7ba463/overrides-0.3.tar.gz#sha256=2884dbfd88f4b4bcaec0d7aac46e8fc7b1a9920ee7956f4d20b1c75d8023e623 (from https://pypi.org/simple/overrides/), version: 0.3
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/64/c0/5c966963e3dc1c5a88b02686ad75da89cb16fe33c866d46826c5fdca3648/overrides-0.4-py2.7.egg#sha256=0a6d3ec1ab354f8bc3825538ee0243e5b3451e7c5300439c24beb91d037b9f58 (from https://pypi.org/simple/overrides/)
  Found link https://files.pythonhosted.org/packages/f0/93/c4c9b712b9890b2617b9b4f5d00d67d6f78c219a2603eb66377092bb928c/overrides-0.4.tar.gz#sha256=b93a98ee0b8b5e13f697fcba11c745c472c3d9c986774522a217f7898a8753c2 (from https://pypi.org/simple/overrides/), version: 0.4
  Found link https://files.pythonhosted.org/packages/3f/2a/daa64b1dab9e55cfa2c2618f251538e7aa1d790cd6fc0da314861b619875/overrides-0.5.tar.gz#sha256=a89f6664d764de41b2cd97a0cf9137deeb6e70cdf957bdca73cf7a81c466cab1 (from https://pypi.org/simple/overrides/), version: 0.5
  Found link https://files.pythonhosted.org/packages/ba/35/98d8164a22cc950638aa3221c94de8445637beecd285bdcca792831f07a6/overrides-1.6.tar.gz#sha256=abd2aceedc6b26b4205e5ebd3a6d1f9b04facd84eefbf93b4299cb3bf003b0ec (from https://pypi.org/simple/overrides/), version: 1.6
  Found link https://files.pythonhosted.org/packages/aa/16/0f27f2afa56c7c15dc6c24a5c6be7b2281c006b0d0da7c91f6db7ba53dda/overrides-1.7.tar.gz#sha256=0b1b5838fa700fd05353ff9213394147a3a271eda722beb086f7158b67f31a3f (from https://pypi.org/simple/overrides/), version: 1.7
  Skipping link: unsupported archive format: .egg: https://files.pythonhosted.org/packages/b9/b9/554899d8883258ef7b9f3c2ce00c5fa5a5bf4a61be646db6e5e239402bb3/overrides-1.8-py2.7.egg#sha256=d2ccd5b18e3aadb5801700e3adc50f18618b26f79040d17a6d2314bf6ec4fc9c (from https://pypi.org/simple/overrides/)
  Found link https://files.pythonhosted.org/packages/0f/d0/cb55e002609e2f3f6442518c610e60650a6fab07fdd681cc09ec3c6ca47f/overrides-1.8.tar.gz#sha256=bf0a02552001aeafeaac154e61b0b2fd378ec56d30b086dec9512741f9dcc4b9 (from https://pypi.org/simple/overrides/), version: 1.8
  Found link https://files.pythonhosted.org/packages/de/55/3100c6d14c1ed177492fcf8f07c4a7d2d6c996c0a7fc6a9a0a41308e7eec/overrides-1.9.tar.gz#sha256=91b59ac1f6f38aae1531f5d6111033b8f4d7e593306bd282c3f9078202567963 (from https://pypi.org/simple/overrides/), version: 1.9
  Found link https://files.pythonhosted.org/packages/7a/b2/2cb6a3fc8ee1dc8617e07e476be19723748ddfcce0c6b9db7a5f2d5b9598/overrides-2.0.tar.gz#sha256=63293d9b03629507396ddd961bd5773f136d602f34b9b3da93351dfa163fc0d9 (from https://pypi.org/simple/overrides/), version: 2.0
  Found link https://files.pythonhosted.org/packages/f4/35/eea4a5089483593fe0e0f1794b04a04d4742c1b8cd990ea0e042339ee7c1/overrides-2.1.tar.gz#sha256=63916d605963af2853a3ee89199c4cc529880ac0a94165d94e1daed121b03384 (from https://pypi.org/simple/overrides/), version: 2.1
  Found link https://files.pythonhosted.org/packages/a3/36/f70fcb3cb334f7d1d12c63e3fec48d3f0f8f543e8e466597faa5fe4d8b5b/overrides-2.2.tar.gz#sha256=766ef02ae3aa5ef3a833e7d4a1a3c2ba81708bbe6aa3a8a3762b3f35c6983977 (from https://pypi.org/simple/overrides/), version: 2.2
  Found link https://files.pythonhosted.org/packages/b8/fb/0c863e21a9eb243377e09713a1c87f7349c7663d6bc983a0167dd8d39cb7/overrides-2.3.tar.gz#sha256=8e2657ade554b662e450105b79cf5fffdc48bcf687af1f016498e275ca8fab55 (from https://pypi.org/simple/overrides/), version: 2.3
  Found link https://files.pythonhosted.org/packages/f9/e4/30eda40aac352781ce38aebc4505849469077364d86405216bb60aee3c32/overrides-2.4.tar.gz#sha256=2cfc8130310838ceb47e6a99d228a25f40e6abdbd13aa052c34cdf6be6979226 (from https://pypi.org/simple/overrides/), version: 2.4
  Found link https://files.pythonhosted.org/packages/8b/a0/0d4a9dcd28de9bf263e9436b5876ba199cc4e4a19d0dc4e85eed657b1b77/overrides-2.5.tar.gz#sha256=a35fd3a23071549790731654ea28490bb741e353f2d4b829b7202ef14e0f28ef (from https://pypi.org/simple/overrides/), version: 2.5
  Found link https://files.pythonhosted.org/packages/86/7a/532fc167366797f66c732549490dcf13243077f15446115f3c0ad17e56b8/overrides-2.6.tar.gz#sha256=1eeaa8638e3b11f09c20d10ea03f2b90c7dc24798ab70787dd2c6d7a2bf60fa3 (from https://pypi.org/simple/overrides/), version: 2.6
  Found link https://files.pythonhosted.org/packages/ac/98/2430afd204c48ac0a529d439d7e22df8fa603c668d03456b5947cb59ec36/overrides-2.7.0.tar.gz#sha256=d8532646879a1e2bb20eb0e21d135d2bf7cac2f843e9b71b53ae2447c62c33e4 (from https://pypi.org/simple/overrides/), version: 2.7.0
  Found link https://files.pythonhosted.org/packages/72/dd/ac49f9c69540d7e09210415801a05d0a54d4d0ca8401503c46847dacd3a0/overrides-2.8.0.tar.gz#sha256=2ee4055a686a3ab30621deca01e43562e97825e29b7993e66d73f287d204e868 (from https://pypi.org/simple/overrides/), version: 2.8.0
  Found link https://files.pythonhosted.org/packages/42/8d/caa729f809ecdf8e76fac3c1ff7d3f0b72c398c9dd8a6919927a30a873b3/overrides-3.0.0.tar.gz#sha256=7dafd6efc15c809f0d812515bc1e8f64ffe28583d20e9046f95a2c010b4b6cdf (from https://pypi.org/simple/overrides/), version: 3.0.0
  Found link https://files.pythonhosted.org/packages/ff/b1/10f69c00947518e6676bbd43e739733048de64b8dd998e9c2d5a71f44c5d/overrides-3.1.0.tar.gz#sha256=30f761124579e59884b018758c4d7794914ef02a6c038621123fec49ea7599c6 (from https://pypi.org/simple/overrides/), version: 3.1.0
  Found link https://files.pythonhosted.org/packages/cc/7f/ea5d33f159af51aede743d72d655370e5fd171b7ca46a0be0de3599b5508/overrides-4.0.0.tar.gz#sha256=406fcc838cca66b45e0af989ef422e1d62bc38e6acdee820855213b9612bb963 (from https://pypi.org/simple/overrides/), version: 4.0.0
  Found link https://files.pythonhosted.org/packages/89/a8/00f7c1db690a56275bbde3267a85b29e658d3096050fe8fc264fcf877bc4/overrides-4.1.0-py3-none-any.whl#sha256=3d9fd7d3f77c7ce27a44196a83f0cb5872288328187ad73e94f2765a17450829 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.0
  Found link https://files.pythonhosted.org/packages/f4/4e/46dc08ae42543f823c234c747d66797d0a25699a69cb0d8de5613e75c34d/overrides-4.1.0.tar.gz#sha256=fec5166d59c057efd1b8d7b723b13fda5f3f753bbe66e752f6ce4f522db697fc (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.0
  Found link https://files.pythonhosted.org/packages/13/08/ffd2ebf3c1c5be9be493dcbdb250567e4b244953b061cad5c7f0160b28ff/overrides-4.1.1-py3-none-any.whl#sha256=b685f3cb92d4d8f019c94462d46449798050891f3c3c77b8d4c892f5078498f4 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.1
  Found link https://files.pythonhosted.org/packages/3d/c0/af3507928e1845e5c03bc68d1ed62b744c6262378cdb2aef9c885ef700c2/overrides-4.1.1.tar.gz#sha256=1782a897a70f38f3d4d42ac883941c5c32ace5ad07abe3293ce211d2279953d2 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.1
  Found link https://files.pythonhosted.org/packages/37/f8/b0e12ec2ef211b53803732b3ab49d8d2b7e439ae10132c4bfd0c11a74305/overrides-4.1.2-py3-none-any.whl#sha256=1b8a2d1bd4937c414214935fd472333eb5e1fe72bcde2309061b59d5cb920509 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.2
  Found link https://files.pythonhosted.org/packages/c7/4d/22bb3a49308e7f4961bef56bc302635959dbe9f379d6512a63e8a9aca2bb/overrides-4.1.2.tar.gz#sha256=9c14302dd56a444b47b237ca42430d2e691a6794d49fff9c977d05af4e1fc850 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 4.1.2
  Found link https://files.pythonhosted.org/packages/9d/16/f31943ee2b2263ab5f25d966354ff1d6dbda13099c56195ed2d6a373efc3/overrides-5.0.0b0-py3-none-any.whl#sha256=0a3adfe3d827ef707087a2d82b3b55b7b458f34ee1c2306b02055018923b3437 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.0b0
  Found link https://files.pythonhosted.org/packages/2b/60/7741d27408cb11c12a13ff69448b8f4ab4274257d98ebcebed44dca01ed3/overrides-5.0.0b0.tar.gz#sha256=53c49a9b64aa98b3c57bab25da1b2e439aecf1ce38ef8ef2f828e1876c905834 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.0b0
  Found link https://files.pythonhosted.org/packages/c4/f0/16cd2bb09752c0807fceb294f89b2f246db44f5676b64847ab97118f1d0c/overrides-5.0.0-py3-none-any.whl#sha256=2725ba8995f6ac4eaa42a7c32feab41bef9219551bbb5c96dbb77c7b4e4814bc (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.0
  Found link https://files.pythonhosted.org/packages/6e/57/c2aec34651c2929df31e31c18cc41afacdf387ee161a38cd7447dee4921e/overrides-5.0.0.tar.gz#sha256=f967d13f6e213f2b0b92a37b506a478c48c4ec55dafc7ec4b207c12ee6cabefc (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.0
  Found link https://files.pythonhosted.org/packages/35/c3/1a4a5124d0eae516b6614eaef7f283832754f409cb387a53bdf04e34639b/overrides-5.0.1-py3-none-any.whl#sha256=69acbef5c2eb3e3f048ddcb001ba302ad961395749af7b90414e1903d6d29947 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.1
  Found link https://files.pythonhosted.org/packages/d3/76/8e235a08c1db632c28c4d1eeaf542bb99683d76f0e680d0e700078325eab/overrides-5.0.1.tar.gz#sha256=046bd33a9a93da92df1e296f82e04856ff273cc4d9082db3982ee2c02c4f7412 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 5.0.1
  Found link https://files.pythonhosted.org/packages/d2/ab/e017f3ca548b9ba8d2e90e26a5344033ed04985ff9fb1b7554539207b104/overrides-6.0.0-py3-none-any.whl#sha256=fb7d28a783b77d6ff140014f3cb6e7d3cba0b55f8202c653b94b16b84f640c41 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.0.0
  Found link https://files.pythonhosted.org/packages/45/55/b9d3c13f3dfdf9f252662e5774f14a1d3c8fa0a0aad23bb8cdb33bc38ea9/overrides-6.0.0.tar.gz#sha256=a5d6e914bac80fe1202521c194e18257bd0434041194e600b7d88f921b9fd790 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.0.0
  Found link https://files.pythonhosted.org/packages/4d/15/59c619ca603a3000697de98089787b9bb25785a7781aefdb62b21ea3b490/overrides-6.0.1-py3-none-any.whl#sha256=e8df6915cb78383ed7f89651e6df0d2aa395237065731bb660f381341c2ec32e (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.0.1
  Found link https://files.pythonhosted.org/packages/98/2f/0804da89f3f80756570315144521ae41bb9731e2bdd648ed740d54fbd6cd/overrides-6.0.1.tar.gz#sha256=510b12d2d4b51747d80a6bf8b9fdddc6612ebe65638f02f017942803fa8ea726 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.0.1
  Found link https://files.pythonhosted.org/packages/db/52/1ee39040faa35ee9a609a4c7c95b017713f0b8d63399d5ecbaa6555a3cea/overrides-6.1.0-py3-none-any.whl#sha256=33926e018a952b06309517b3febede982112b86430e588bdd00560b80a4a800b (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.1.0
  Found link https://files.pythonhosted.org/packages/52/86/7f70ed8b5957b094a432cc839ea99cffac62a41861d4d2075d742a45953b/overrides-6.1.0.tar.gz#sha256=5ba636b73bf72d3d80550f4a5dfe3c7d04ec6e8fd246c4074bfc7ad82bd0ea3d (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.1.0
  Found link https://files.pythonhosted.org/packages/5b/65/0e28558b319dd0c6990644224fcb76c317c88e7bd266d3c3ed40e525e977/overrides-6.2.0-py3-none-any.whl#sha256=2f62e9dba0cd96d2cddee8c8a2bae59d6179e9e0993235466727681a6bfee789 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.2.0
  Found link https://files.pythonhosted.org/packages/91/61/79f6f13e322f0093a7fc1ae99fef15236f43589373beee5982bfd0b69fa9/overrides-6.2.0.tar.gz#sha256=e15c1a7d9a605999507a5e17d36505319f9e971cbcbde37b507c84346318301b (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.2.0
  Found link https://files.pythonhosted.org/packages/7b/2a/ff0970bece4f8f7b8a4905358555e83c0d7b6f5233e6d81192236f857218/overrides-6.3.0-py3-none-any.whl#sha256=e39f57a90c37b03bb88dd58ca9706449af9ceb9dc6c7b56fee647f3df4f32364 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.3.0
  Found link https://files.pythonhosted.org/packages/dc/4e/5dc0f4883df1b00ba7c5036f079a5f3c8a56d803616de40e28f0cd9552f0/overrides-6.3.0.tar.gz#sha256=e0855a641e89682e7fb6352fc523af6470c1bacb1c4f8424b6f9c4b75096697c (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.3.0
  Found link https://files.pythonhosted.org/packages/02/4a/7bebe79ef57c656f3592481bfd187bd12c639ccc39cda74f4017f5dd24f9/overrides-6.4.0-py3-none-any.whl#sha256=495c2c0f1232cb829f3de26677289ba59b49100a20e97218ad9620921515b429 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.4.0
  Found link https://files.pythonhosted.org/packages/41/78/4468060fec3e2c0dab42fd7d393a78cdd8a7a6af49738330f0c46c16187f/overrides-6.4.0.tar.gz#sha256=c74f5f87cbcdb37e8244c1a3f8f76adbaf2b67aee390b3c7467bc84c1e955a76 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.4.0
  Found link https://files.pythonhosted.org/packages/d8/79/5a54931bec272a7d14713f1b19b76c172f7b730bd15ca920aab60a194e43/overrides-6.5.0-py3-none-any.whl#sha256=005ce7cf550b4f896624ba08c386a1262699ec8b4e3a609375edafb0f0652589 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.5.0
  Found link https://files.pythonhosted.org/packages/82/b4/3b413a5feeff29d9292e10872084ad4a1a5fa86876e9b2d80fe33f72ab27/overrides-6.5.0.tar.gz#sha256=2668159c39bc02e1fbd3cbd2cf7c51c1700cb4c35c1326b156dd07199d0ce159 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 6.5.0
  Found link https://files.pythonhosted.org/packages/2c/ca/bf16d08734ec6d5d502fff617973136e3df8cd0fbfaed339aa169032205b/overrides-7.0.0-py3-none-any.whl#sha256=f6e4696acba91e5d4fd8ebb6e05cc9fc4d49c7b0ea4064cc0a1f64a1e09861c8 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.0.0
  Found link https://files.pythonhosted.org/packages/67/9b/58655bed3190319830d9ae5fb859c51a14ed35d4ea79d78bf036b5b768d7/overrides-7.0.0.tar.gz#sha256=49754f440f29de43975e27838942331adcc7521e6f552fdbb434dd5b4f895b3d (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.0.0
  Found link https://files.pythonhosted.org/packages/96/89/ec696b7d56f5780db53c3cb50a46fc249a059a7901a4605b514c8358ca02/overrides-7.1.0-py3-none-any.whl#sha256=037921cc66674f3c9436baeac4ad14101e7e673e70ea8b87f31f76d65174cf16 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.1.0
  Found link https://files.pythonhosted.org/packages/24/9f/0f0ccbcb67531215d24d397a484b50b583cf1cf02ce48e5ce9e30b348a8b/overrides-7.1.0.tar.gz#sha256=6c005eb5ecdf67b27df689f35deda5493af52a813da50cf0f6591bb8b4a3b400 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.1.0
  Found link https://files.pythonhosted.org/packages/eb/81/ab5df19d7f8ba3925bef0c85b3ffef4d95ce3ddec3bd9fda88088ff14d37/overrides-7.2.0-py3-none-any.whl#sha256=56dc4657d992a87bc3b3f302f0c920c4792ee9ce4c7d76a619f9348c34fdead1 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.2.0
  Found link https://files.pythonhosted.org/packages/5b/e9/7ca0d9bd502ccb352102df5d13a421f31579516cefc3392e014b4fe23bda/overrides-7.2.0.tar.gz#sha256=09d10feb7db7c6c992b2b7873e298ed7a7973d80db098f2795ff5861e01468f8 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.2.0
  Found link https://files.pythonhosted.org/packages/fb/05/a7e5fd1e954bc8537bf9fd7e2d6836bc8541df3dd846b9736ffd2a170b49/overrides-7.3.0-py3-none-any.whl#sha256=81b0848e1712396ed7359d4d56a6c6c6564f3e8c9b38102472ad7887c3e2b7a2 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.3.0
  Found link https://files.pythonhosted.org/packages/fd/e7/42967d91addf3a344212cb70c71d4e25766433a8d87f5a120f4f498f81a1/overrides-7.3.0.tar.gz#sha256=13aec54e55944c5a0d39922aa898c84ec0fee3962aeff5e4ce96c877c8683a04 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.3.0
  Found link https://files.pythonhosted.org/packages/7f/36/3fef66c2bf1f66f35538a6703aca0447114b1873913c403f0ea589721aae/overrides-7.3.1-py3-none-any.whl#sha256=6187d8710a935d09b0bcef8238301d6ee2569d2ac1ae0ec39a8c7924e27f58ca (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.3.1
  Found link https://files.pythonhosted.org/packages/f6/39/e2e3c2c7eba7793a01b5f592c3c7fd6b27da53d75de81430407ef18befb7/overrides-7.3.1.tar.gz#sha256=8b97c6c1e1681b78cbc9424b138d880f0803c2254c5ebaabdde57bb6c62093f2 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.3.1
  Found link https://files.pythonhosted.org/packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl#sha256=3ad24583f86d6d7a49049695efe9933e67ba62f0c7625d53c59fa832ce4b8b7d (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.4.0
  Found link https://files.pythonhosted.org/packages/4d/27/30c865a1e62f1913a0730e667e94459ca038392b6f44d69ef7a585690337/overrides-7.4.0.tar.gz#sha256=9502a3cca51f4fac40b5feca985b6703a5c1f6ad815588a7ca9e285b9dca6757 (from https://pypi.org/simple/overrides/) (requires-python:>=3.6), version: 7.4.0
Fetching project page and analyzing links: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/
Getting page http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/
Found index url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
Looking up "http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/" in the cache
Request header has "max_age" as 0, cache bypassed
http://fair-package-repo.s3-website-us-east-1.amazonaws.com:80 "GET /fairseq2/whl/stable/pt2.0.1/cu118/overrides/ HTTP/1.1" 404 389
Status code 404 not in (200, 203, 300, 301, 308)
Could not fetch URL http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/: 404 Client Error: Not Found for url: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/ - skipping
Skipping link: not a file: https://pypi.org/simple/overrides/
Skipping link: not a file: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/overrides/
Given no hashes to check 6 links for project 'overrides': discarding no candidates
Collecting overrides~=7.3
  Created temporary directory: /tmp/pip-unpack-1w7xu8od
  Looking up "https://files.pythonhosted.org/packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl" in the cache
  No cache entry available
  Starting new HTTPS connection (1): files.pythonhosted.org:443
  https://files.pythonhosted.org:443 "GET /packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl HTTP/1.1" 200 17709
  Downloading overrides-7.4.0-py3-none-any.whl (17 kB)
  Ignoring unknown cache-control directive: immutable
  Updating cache with response from "https://files.pythonhosted.org/packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl"
  etag object cached for 1209600 seconds
  Caching due to etag
  Added overrides~=7.3 from https://files.pythonhosted.org/packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl#sha256=3ad24583f86d6d7a49049695efe9933e67ba62f0c7625d53c59fa832ce4b8b7d (from fairseq2) to build tracker '/tmp/pip-req-tracker-m_xjtp7f'
  Removed overrides~=7.3 from https://files.pythonhosted.org/packages/da/28/3fa6ef8297302fc7b3844980b6c5dbc71cdbd4b61e9b2591234214d5ab39/overrides-7.4.0-py3-none-any.whl#sha256=3ad24583f86d6d7a49049695efe9933e67ba62f0c7625d53c59fa832ce4b8b7d (from fairseq2) from build tracker '/tmp/pip-req-tracker-m_xjtp7f'
2 location(s) to search for versions of fairseq2n:
* https://pypi.org/simple/fairseq2n/
* http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Fetching project page and analyzing links: https://pypi.org/simple/fairseq2n/
Getting page https://pypi.org/simple/fairseq2n/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/fairseq2n/" in the cache
Request header has "max_age" as 0, cache bypassed
https://pypi.org:443 "GET /simple/fairseq2n/ HTTP/1.1" 304 0
  Skipping link: none of the wheel's tags (cp310-cp310-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/21/e8/14d332f4b412578dca7631453704ad76ff2046b29f4bcddc48ca6dbea4f7/fairseq2n-0.1.0-cp310-cp310-manylinux_2_17_x86_64.whl#sha256=d8f9653dfd7eec25827a6dec4e3bff64de1059c7c31cce0605407ae1baf68bb1 (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp311-cp311-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/c2/31/22f4c8d8b09b8eca1f27a0239f7051bbe3916a4b1cae215c460fd0b13bd4/fairseq2n-0.1.0-cp311-cp311-manylinux_2_17_x86_64.whl#sha256=624724e0109ee936713b310ad311d4ba4dea610343953654431dea67d95243b3 (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp38-cp38-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/e5/25/e0b3775ddf8fbfe678c09c8b212ddb3e43f2996ef95a1121fbc183865156/fairseq2n-0.1.0-cp38-cp38-manylinux_2_17_x86_64.whl#sha256=3329befb7b3369bc76afedaf78e05641071aa8bbef5f0eb90cfe52eb7d98898e (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
  Skipping link: none of the wheel's tags (cp39-cp39-manylinux_2_17_x86_64) are compatible (run pip debug --verbose to show compatible tags): https://files.pythonhosted.org/packages/a8/df/dd0d2a4aec37e2bb1fb0b44c30a107b34bbc773fbf2c254757bcb5a75aea/fairseq2n-0.1.0-cp39-cp39-manylinux_2_17_x86_64.whl#sha256=fadc96aada05db5f04222122ed2b199171ff9da66040ffdd4220b0bebf6cdf1d (from https://pypi.org/simple/fairseq2n/) (requires-python:>=3.8)
Fetching project page and analyzing links: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Getting page http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Found index url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118
Looking up "http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/" in the cache
Request header has "max_age" as 0, cache bypassed
http://fair-package-repo.s3-website-us-east-1.amazonaws.com:80 "GET /fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/ HTTP/1.1" 404 389
Status code 404 not in (200, 203, 300, 301, 308)
Could not fetch URL http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/: 404 Client Error: Not Found for url: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/ - skipping
Skipping link: not a file: https://pypi.org/simple/fairseq2n/
Skipping link: not a file: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/stable/pt2.0.1/cu118/fairseq2n/
Given no hashes to check 0 links for project 'fairseq2n': discarding no candidates
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
    result = self._result = resolver.resolve(
  File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 385, in resolve
    raise ResolutionImpossible(self.state.backtrack_causes)
pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('fairseq2n==0.1.0'), parent=LinkCandidate('https://files.pythonhosted.org/packages/cd/27/46c14e28e8cb0aa602660ce64d4547a37f460d382e4fcf94f2a53d47e5b0/fairseq2-0.1.0-py3-none-any.whl#sha256=e86af6d08a7bf6ee442dd0f34576c715e3890273a3f51935d06799d8b495337c (from https://pypi.org/simple/fairseq2/) (requires-python:>=3.8)'))]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 339, in run
    requirement_set = resolver.resolve(
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 103, in resolve
    raise error from e
pip._internal.exceptions.DistributionNotFound: No matching distribution found for fairseq2n==0.1.0
Removed build tracker: '/tmp/pip-req-tracker-m_xjtp7f'

franko14 avatar Aug 22 '23 18:08 franko14

@franko14 @astrowar realized that there was a typo in the URL I sent. It should have been

pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118 fairseq2

Essentially instead of --extra-index-url --index-url and no stable segment in the path. So the whole command flow should look like:

pip install --upgrade pip
pip install torch==2.0.1 --index-url https://download.pytorch.org/whl/cu118
pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118 fairseq2

Could you please give it a try and let me know how it goes?

cbalioglu avatar Aug 22 '23 21:08 cbalioglu

(voz2) astro@ubuntu:~/dev/voz$ pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118 fairseq2
Using pip 23.2.1 from /home/astro/dev/voz/voz2/lib/python3.8/site-packages/pip (python 3.8)
Looking in indexes: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118
Collecting fairseq2
  Downloading http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118/fairseq2/fairseq2-0.1.0-py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.3/162.3 kB 331.9 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0

astrowar avatar Aug 22 '23 21:08 astrowar

We plan to have macOS wheels available pretty soon.

@cbalioglu when mac sir? in a matter or hours? days? or by the end of the week? just excited to try this out.

Also any plans on expanding to windows any time soon? Very interested in being able to run this locally on my machine, both on mac and windows.

cocktailpeanut avatar Aug 22 '23 21:08 cocktailpeanut

Could this be installed on Windows using something like Docker or Podman?

dillfrescott avatar Aug 23 '23 03:08 dillfrescott

Update: I am attempting to install this via Podman and have come very close to success. I am running into an error while inferencing as referenced here.

dillfrescott avatar Aug 23 '23 04:08 dillfrescott

Did someone solve this installation issue?

KarinBrisker avatar Aug 23 '23 18:08 KarinBrisker

@KarinBrisker I haven't tried it yet but https://llm-tracker.info/books/howto-guides/page/speech-to-text#bkmrk-seamlessm4t might help (I found it via reddit https://www.reddit.com/r/LocalLLaMA/comments/15ybk2r/comment/jxgbfsd/?utm_source=share&utm_medium=web2x&context=3)

micseydel avatar Aug 23 '23 19:08 micseydel

@cbalioglu this is what I get running with „no-typo” URL

root@ubuntu-4gb-fsn1-4:~/meta-ai/seamless_communication# pip install --upgrade pip
pip install torch==2.0.1 --index-url https://download.pytorch.org/whl/cu118
pip install --verbose --trusted-host fair-package-repo.s3-website-us-east-1.amazonaws.com --index-url http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118 fairseq2
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2)
Collecting pip
  Downloading pip-23.2.1-py3-none-any.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 8.8 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.0.2
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-23.2.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Looking in indexes: https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
  Downloading https://download.pytorch.org/whl/torch-2.0.1-cp310-cp310-manylinux2014_aarch64.whl (74.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.0/74.0 MB 27.2 MB/s eta 0:00:00
Collecting filelock (from torch==2.0.1)
  Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting typing-extensions (from torch==2.0.1)
  Downloading https://download.pytorch.org/whl/typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting sympy (from torch==2.0.1)
  Downloading https://download.pytorch.org/whl/sympy-1.11.1-py3-none-any.whl (6.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 51.1 MB/s eta 0:00:00
Collecting networkx (from torch==2.0.1)
  Downloading https://download.pytorch.org/whl/networkx-3.0-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 54.9 MB/s eta 0:00:00
Requirement already satisfied: jinja2 in /usr/lib/python3/dist-packages (from torch==2.0.1) (3.0.3)
Collecting mpmath>=0.19 (from sympy->torch==2.0.1)
  Downloading https://download.pytorch.org/whl/mpmath-1.2.1-py3-none-any.whl (532 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 532.6/532.6 kB 35.5 MB/s eta 0:00:00
DEPRECATION: distro-info 1.1build1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: python-debian 0.1.43ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: mpmath, typing-extensions, sympy, networkx, filelock, torch
Successfully installed filelock-3.9.0 mpmath-1.2.1 networkx-3.0 sympy-1.11.1 torch-2.0.1 typing-extensions-4.4.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Using pip 23.2.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
Looking in indexes: http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118
Collecting fairseq2
  Downloading http://fair-package-repo.s3-website-us-east-1.amazonaws.com/fairseq2/whl/pt2.0.1/cu118/fairseq2/fairseq2-0.1.0-py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.3/162.3 kB 402.1 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of fairseq2 to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement fairseq2n==0.1.0 (from fairseq2) (from versions: none)
ERROR: No matching distribution found for fairseq2n==0.1.0
root@ubuntu-4gb-fsn1-4:~/meta-ai/seamless_communication# 

franko14 avatar Aug 23 '23 20:08 franko14

hello it works for me now : 5.15.0-79-generic #86-Ubuntu 22.04.3 LTS pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

electrotuto avatar Aug 23 '23 21:08 electrotuto

Can I run it on CPU only, Linux machine? thank you in advance

sankalp-25 avatar Aug 24 '23 06:08 sankalp-25

Could this be installed on Windows using something like Docker or Podman?

I've created a pull request for that. See #69.

TheDuffman85 avatar Aug 24 '23 13:08 TheDuffman85

Can I build fairseq2n on my MacOS by myself?

sshtel avatar Aug 28 '23 06:08 sshtel

@astrowar could you also share your pip version? To be on the safe side, you can also do a pip install --upgrade pip. Also would be nice to get detailed log output (i.e. pip install --verbose).

Thanks, It worked.

elon-trump avatar Aug 31 '23 07:08 elon-trump

the same error, macos with M1 chips, still not available now.

lixianmin avatar Sep 05 '23 12:09 lixianmin

Hey everyone, yesterday I released fairseq2 v0.1.1 with significantly revised installation instructions and pre-built binaries for Apple-silicon Macs. Please give it a try in a fresh environment and let me know how it goes. Thanks!

cbalioglu avatar Sep 08 '23 23:09 cbalioglu

@cbalioglu I have tried in Mac and it gave me error because of fairseq2 version conflict, here is the error: ` pip install . Processing /Users/sagarcherukuri/git_projects/git_repo/seamless_communication DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Collecting pre-commit Downloading pre_commit-3.4.0-py2.py3-none-any.whl (203 kB) |████████████████████████████████| 203 kB 7.5 MB/s Collecting datasets Downloading datasets-2.14.5-py3-none-any.whl (519 kB) |████████████████████████████████| 519 kB 12.0 MB/s Collecting torchaudio Using cached torchaudio-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl (3.9 MB) Collecting soundfile Using cached soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64.whl (1.2 MB) Collecting librosa Using cached librosa-0.10.1-py3-none-any.whl (253 kB) Collecting fairseq2==0.1.* Downloading fairseq2-0.1.1-py3-none-any.whl (162 kB) |████████████████████████████████| 162 kB 11.2 MB/s Collecting sacrebleu~=2.3 Downloading sacrebleu-2.3.1-py3-none-any.whl (118 kB) |████████████████████████████████| 118 kB 11.2 MB/s Collecting jiwer~=3.0 Downloading jiwer-3.0.3-py3-none-any.whl (21 kB) Requirement already satisfied: overrides~=7.3 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (7.4.0) Collecting torch>=1.12.1 Downloading torch-2.0.1-cp39-none-macosx_10_9_x86_64.whl (143.4 MB) |████████████████████████████████| 143.4 MB 8.7 MB/s Requirement already satisfied: typing-extensions~=4.3 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (4.7.1) Requirement already satisfied: packaging~=23.1 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (23.1) Requirement already satisfied: pyyaml~=6.0 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (6.0.1) Requirement already satisfied: tqdm~=4.62 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (4.66.1) Requirement already satisfied: numpy~=1.23 in /Users/sagarcherukuri/.pyenv/versions/3.9.5/lib/python3.9/site-packages (from fairseq2==0.1.->seamless-communication==1.0.0) (1.25.2) Collecting torcheval~=0.0.6 Downloading torcheval-0.0.7-py3-none-any.whl (179 kB) |████████████████████████████████| 179 kB 11.8 MB/s Collecting fairseq2==0.1.* Using cached fairseq2-0.1.0-py3-none-any.whl (162 kB) INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of seamless-communication to determine which version is compatible with other requirements. This could take a while. 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/user_guide/#fixing-conflicting-dependencies WARNING: You are using pip version 21.1.1; however, version 23.2.1 is available. You should consider upgrading via the '/Users/sagarcherukuri/.pyenv/versions/3.9.5/bin/python3.9 -m pip install --upgrade pip' command.`

sagarcherukuri avatar Sep 11 '23 13:09 sagarcherukuri

@sagarcherukuri could you please try it with pip install --no-cache --upgrade .?

cbalioglu avatar Sep 11 '23 13:09 cbalioglu