前提
Stable diffusion web UIを使用するためのインストール作業を行っていました。「stable-diffusion-webui」フォルダ内にある「webui-user.bat」を起動すると、通常はインストールが開始されるハズが、インストールが行われません。「続行するには何かキーを押してください . . .」に従いキーを押したら、コマンドプロンプトが閉じてしまいます。
実現したいこと
「webui-user.bat」の実行の際に起こるエラーを解消し、インストール作業を行いたいです。
該当のソースコード
venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
Commit hash: 98947d173e3f1667eba29c904f681047dea9de90
Installing torch and torchvision
Traceback (most recent call last):
File "C:\stable-diffusion-webui\launch.py", line 255, in <module>
prepare_enviroment()
File "C:\stable-diffusion-webui\launch.py", line 173, in prepare_enviroment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "C:\stable-diffusion-webui\launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "C:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
Error code: 1
stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
stderr: ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: none)
ERROR: No matching distribution found for torch==1.12.1+cu113
[notice] A new release of pip available: 22.3 -> 22.3.1
[notice] To update, run: C:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
続行するには何かキーを押してください . . .
ソースコード
試したこと
pipの再インストール
Git 再インストール
pythonの再インストール
CUDAの再インストール
補足情報(FW/ツールのバージョンなど)
windows10
python 3.11.0
