https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip のエラーが出ました。
対処方法を教えてください。https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip のエラーが出ました。
対処方法を教えてください。Stable Diffusion WebUI A1111起動時に次のエラーが発生します。
次のコマンドを実行します。
setuptools を 80.x に固定します。
cd (Stable Diffusion WebUI A1111の配置ディレクトリ)
venv\Scripts\activate
python.exe -m pip install --force-reinstall "setuptools<81" wheel pip
次のコマンドを実行して確認します。
python.exe -c "import pkg_resources; print('OK', pkg_resources.__file__)"
python.exe -m pip show setuptools
以下の結果となります。
<string>:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
OK D:\Storage\Image-Gen\a1111-sd15\stable-diffusion-webui\venv\lib\site-packages\pkg_resources\__init__.py
Name: setuptools
Version: 80.10.2
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page:
Author:
Author-email: Python Packaging Authority <distutils-sig@python.org>
License-Expression: MIT
Location: d:\storage\image-gen\a1111-sd15\stable-diffusion-webui\venv\lib\site-packages
Requires:
Required-by:
コマンド実行後に、再度 webui-user.bat を実行します。うまくいけばエラーが出ずに WebUI が起動できます。
こちらの記事を参照してください。