Repository: stable-diffusion-webui
Issue: [Bug]: error: subprocess-exited-with-error
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

# error: subprocess-exited-with-error

### Steps to reproduce the problem

- stable-diffusion-webui releases v1.6.0

```zsh
pglin@192 ~ % cd stable-diffusion-webui
pglin@192 stable-diffusion-webui % ls
CHANGELOG.md                    extensions-builtin              requirements-test.txt           venv
CITATION.cff                    html                            requirements.txt                webui-macos-env.sh
CODEOWNERS                      javascript                      requirements_versions.txt       webui-user.bat
LICENSE.txt                     launch.py                       screenshot.png                  webui-user.sh
README.md                       localizations                   script.js                       webui.bat
configs                         models                          scripts                         webui.py
embeddings                      modules                         style.css                       webui.sh
environment-wsl2.yaml           package.json                    test
extensions                      pyproject.toml                  textual_inversion_templates
```

- python3 version

```zsh
pglin@192 stable-diffusion-webui % python3 -V
Python 3.9.6
```



### What should have happened?


./webui.sh

### Sysinfo


- webui.sh perform installation error

```zsh
pglin@192 stable-diffusion-webui % ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on pglin user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.13 (main, Nov  1 2023, 16:44:37) [Clang 14.0.0 (clang-1400.0.29.202)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Installing clip
Traceback (most recent call last):
  File "/Users/pglin/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/pglin/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/Users/pglin/stable-diffusion-webui/modules/launch_utils.py", line 363, in prepare_environment
    run_pip(f"install {clip_package}", "clip")
  File "/Users/pglin/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 "/Users/pglin/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install clip.
Command: "/Users/pglin/stable-diffusion-webui/venv/bin/python3.10" -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
  Using cached https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip (4.3 MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'error'

stderr:   error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Collecting setuptools>=40.8.0
        WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2f3a0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
        WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2f640>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
        WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2f7f0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
        WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2f970>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
        WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2fb20>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
      ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2fcd0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)'))
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

```

### What browsers do you use to access the UI ?

Microsoft Edge

### Console logs

```Shell
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x10ec2fcd0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)'))
```


### Additional information

_No response_