Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

INSTALL ERRORS PLS HELP!!! #1699

Open
c2rx opened this issue Sep 18, 2024 · 0 comments
Open

INSTALL ERRORS PLS HELP!!! #1699

c2rx opened this issue Sep 18, 2024 · 0 comments

Comments

@c2rx
Copy link

c2rx commented Sep 18, 2024

I have tried every method from the install instruction, but all way got those same responses as follow:

Looking in indexes: https://repo.huaweicloud.com/repository/pypi/simple/, https://download.pytorch.org/whl/cpu
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14340b0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/cmake/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1434260>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/cmake/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14347a0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/cmake/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14349b0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/cmake/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1434bc0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/cmake/
Collecting cmake (from -r requirements-cpu.txt (line 2))
Using cached https://repo.huaweicloud.com/repository/pypi/packages/b0/bd/c92eb92654e41483fc79f309863c55647bcacbbc9b1312a9684d6e0ba725/cmake-3.30.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.9 MB)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1454170>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/ninja/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1454320>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/ninja/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1454560>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/ninja/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14547d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/ninja/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca1454a10>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/ninja/
Collecting ninja (from -r requirements-cpu.txt (line 3))
Using cached https://repo.huaweicloud.com/repository/pypi/packages/6d/92/8d7aebd4430ab5ff65df2bfee6d5745f95c004284db2d8ca76dcbfd9de47/ninja-1.11.1.1-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl (307 kB)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14e4740>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/torch/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14e4aa0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/torch/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14e4ce0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/torch/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14e50d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/torch/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9ca14e53d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cpu/torch/
ERROR: Could not find a version that satisfies the requirement torch==2.3.0+cpu (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1)
ERROR: No matching distribution found for torch==2.3.0+cpu
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-g3zsgq3v/intel-extension-for-transformers_c8d80f02e14b487fa554fb33ee3345b6/setup.py", line 46, in
from cmake import CMAKE_BIN_DIR
ModuleNotFoundError: No module named 'cmake'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant