2026年3月15日日曜日

StabbleDiffusionインストール時のエラー解決記録

 エラーコード

「note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed to build 'https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip' when getting requirements to build wheel」


◇対処法

misc.logさんに詳しく解説がありました。こちらを試したら無事解決。

  1. stable-diffusion-webuiフォルダーでコマンドプロンプトから「venv\Scripts\activate」実行
  2. venvプロンプトから「pip install wheel」を実行
  3. venvプロンプトから「pip install --no-build-isolation https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip」を実行
  4. stable-diffusion-webui/modules/launch_utils.py をテキストエディタで開き、349行目のURL部分を「https://github.com/joypaul162/Stability-AI-stablediffusion.git」に書き換える
  5. 改めてstable-diffusion-webuiフォルダーのwebui-user.batを実行する

0 件のコメント:

コメントを投稿