@Kaizzer_1993

Проблема с установкой Stable Stable Diffusion, что делать?

При попытки установить Stable Diffusion через файл webui-user.bat, выдает кучу ошибок, как это исправить?
D:\stable-diffusion-webui>git pull
Already up to date.
venv "D:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing clip
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "D:\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "D:\stable-diffusion-webui\modules\launch_utils.py", line 363, in prepare_environment
    run_pip(f"install {clip_package}", "clip")
  File "D:\stable-diffusion-webui\modules\launch_utils.py", line 138, in run_pip
    return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
  File "D:\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install clip.
Command: "D:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary
Error code: 1
stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip

stderr:   WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A124586B30>: Failed to establish a new connection: [WinError 10061]   , ..      ')': /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A124586DD0>: Failed to establish a new connection: [WinError 10061]   , ..      ')': /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A124586F80>: Failed to establish a new connection: [WinError 10061]   , ..      ')': /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A124587130>: Failed to establish a new connection: [WinError 10061]   , ..      ')': /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A1245872E0>: Failed to establish a new connection: [WinError 10061]   , ..      ')': /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='codeload.github.com', port=443): Max retries exceeded with url: /openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002A124587490>: Failed to establish a new connection: [WinError 10061]   , ..      '))


Для продолжения нажмите любую клавишу . . .
  • Вопрос задан
  • 2233 просмотра
Решения вопроса 1
@Kaizzer_1993 Автор вопроса
Разобрался с этой проблемой сам. Проблема была в файле hosts, там было много различной чепухи, скачал оригинальный и всё заработало.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
16 мая 2024, в 23:36
200000 руб./за проект
16 мая 2024, в 23:10
12000 руб./за проект