Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.

Stable Diffusionインストール中に、以下のエラーが表示されました。

Launching Web UI with arguments: --xformers --autolaunch --skip-torch-cuda-test
Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.
It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe
Traceback (most recent call last):
File "C:\sd.webui\webui\launch.py", line 38, in main()
File "C:\sd.webui\webui\launch.py", line 34, in main
start()
File "C:\sd.webui\webui\modules\launch_utils.py", line 330, in start
import webui
File "C:\sd.webui\webui\webui.py", line 23, in from modules import paths, timer, import_hook, errors # noqa: F401
File "C:\sd.webui\webui\modules\paths.py", line 5, in import modules.safe # noqa: F401
File "C:\sd.webui\webui\modules\safe.py", line 8, in import torch
File "C:\sd.webui\system\python\lib\site-packages\torch\__init__.py", line 133, in raise err
OSError: [WinError 126] 指定されたモジュールが見つかりません。 Error loading "C:\sd.webui\system\python\lib\site-packages\torch\lib\c10.dll" or one of its dependencies.


以下のサイトにて解決しました。

stackoverflow
回答の部分からMicrosoft Visual C++ 再頒布可能インストーラーを入手できます。

インストールすると、解決しました。

[カテゴリ]

2023年06月19日

関連記事

今回は、StableDiffusionWebUIをローカルのパソコンにインストールする方法を書き留めて行...

2023年05月26日

個人的にマウスコンピューター推しなので、今回はマウスコンピューターのパソコンについてま...

2023年05月14日

エラー内容StableDiffusionインストール時に、「RuntimeError:Torchisnotable...

2023年06月19日

さて今回は、StableDiffusionをスマホで使う方法について書いて行こうと思います。...

2023年04月26日

AIイラストを触っていると、StableDiffusion、Midjourney、NovelAI、HolaraAIなど、色々英文...

2023年04月26日

Copyright© 2024-2025 ai-illust.art All Rights Reserbed.

当サイトに掲載している文章、画像などの無断転載を禁止いたします。