Torch 2.0.1 is not found, I installed python 3.10.6 version how to fix this issue?

#256
by Jusi786109 - opened

WARNING: Retrying (Retry (total-2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewC

onnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002BF86F64550>: Failed to establish a new

connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch/

WARNING: Retrying (Retry (total-1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewC

onnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002BF86F64700>: Failed to establish a new

connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch/

CWARNING: Retrying (Retry (total-0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewC

SonnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002BF86F648B0>: Failed to establish a new

connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch/

ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: none)

ERROR: No matching distribution found for torch==2.0.1

WARNING: There was an error checking the latest version of pip.

Traceback (most recent call last):

File "E:\STABLE DIFFUSION AI\STABLE

SE

DIFFUSION\stable-diffusion-webui-master\launch.py", line 39, in

line 30, in main

main()

File "E: \STABLE DIFFUSION AI\STABLE DIFFUSION\stable-diffusion-webui-master\launch.py",

prepare_environment ()

File "E:\STABLE DIFFUSION AI\STABLE DIFFUSION\stable-diffusion-webui-master\modules\launch_utils.py",

Error code: 1

Press any key to continue

line 311, in pre

live=True)

line 113, in run

pare_environment

run (f""{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch",

File "E:\STABLE DIFFUSION AI\STABLE DIFFUSION\stable-diffusion-webui-master\modules\launch_utils.py",

raise RuntimeError("\n".join(error_bits))

RuntimeError: Couldn't install torch.

Command: "E:\STABLE DIFFUSION AI\STABLE DIFFUSION\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install

torch==2.0.1 torchvision=-0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118

Sign up or log in to comment