Skip to content

[Bug]: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none) #9483

@SeaN0X

Description

@SeaN0X

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

This bug happens when i try to launch webui-user.bat

Steps to reproduce the problem

  1. launch webui-user.bat
  2. wait

What should have happened?

The program should install torch, load the model and then start the web server.

Commit where the problem happens

22bcc7b

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--lowvram --precision full --no-half --skip-torch-cuda-test --disable-safe-unpickle

List of extensions

No

Console logs

D:\IA\stable-diffusion-webui>webui-user.bat
venv "D:\IA\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:38:17) [MSC v.1932 32 bit (Intel)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
ERROR: No matching distribution found for torch==1.13.1+cu117

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: D:\IA\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
  File "D:\IA\stable-diffusion-webui\launch.py", line 355, in <module>
    prepare_environment()
  File "D:\IA\stable-diffusion-webui\launch.py", line 257, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
  File "D:\IA\stable-diffusion-webui\launch.py", line 81, in run
    raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "D:\IA\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Error code: 1

Additional information

I've currently installed python 3.10.6 and i tried to delete venv folder and then launch again, but i still get this error.

i've ran "py -0p" and as it seems, i do not have any other python versions on my system other than 3.10.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions