質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Q&A

0回答

1708閲覧

「Stable diffusion web UI」インストール作業中の「webui-user.bat」でのエラーが出るのを解決したい。

papara

総合スコア0

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

0グッド

0クリップ

投稿2023/05/07 04:57

編集2023/05/07 05:40

実現したいこと

・stable diffusion webの中の webui-user.batからインストールをしたい。
エラーコードを解決したい。

前提

stable diffusion webの中の webui-user.batからインストールをしたいのですが、webui-user.batを開いて30分ほど放置すると、

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\Padparadscha\AppData\Local\Temp\pip-unpack-sgrwg68u\torch-2.0.0+cu118-cp310-cp310-win_amd64.whl'

このエラーコードが出てしまい「続行するには何かキーを押してください . . .」が出てきてしまいます。
どのようにすればいいのでしょうか。

またコードの全容を下記に貼っておきます。

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.0
Using cached https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp310-cp310-win_amd64.whl (2611.3 MB)
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\Padparadscha\AppData\Local\Temp\pip-unpack-sgrwg68u\torch-2.0.0+cu118-cp310-cp310-win_amd64.whl'

[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: C:\Users\Padparadscha\sssss\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "C:\Users\Padparadscha\sssss\stable-diffusion-webui\launch.py", line 352, in <module>
prepare_environment()
File "C:\Users\Padparadscha\sssss\stable-diffusion-webui\launch.py", line 254, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "C:\Users\Padparadscha\sssss\stable-diffusion-webui\launch.py", line 80, in run
raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "C:\Users\Padparadscha\sssss\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.0 torchvision==0.15.1 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 1
続行するには何かキーを押してください . . .

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問