Repository: stable-diffusion-webui
Issue: [Bug]: Somthing has gone wrong, but I am not sure what. I am pasting in my terminal code.(Asking for help with system, this is not a bug)
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?

Web Ui refuses to download


### Steps to reproduce the problem

I followed the installation steps for Apple Silicon


### What should have happened?

It should have properly downloaded the UI

### Sysinfo

N/A

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

Google Chrome

### Console logs

```Shell
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on familyaccount user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.7 (v3.10.7:6cc6b13308, Sep  5 2022, 14:02:52) [Clang 13.0.0 (clang-1300.0.29.30)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing torch and torchvision
Collecting torch==2.0.1
  Using cached torch-2.0.1-cp310-none-macosx_10_9_x86_64.whl (143.4 MB)
Collecting torchvision==0.15.2
  Using cached torchvision-0.15.2-cp310-cp310-macosx_10_9_x86_64.whl (1.5 MB)
Collecting jinja2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting typing-extensions
  Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Collecting sympy
  Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
Collecting filelock
  Using cached filelock-3.12.4-py3-none-any.whl (11 kB)
Collecting networkx
  Using cached networkx-3.1-py3-none-any.whl (2.1 MB)
Collecting requests
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting numpy
  Using cached numpy-1.25.2-cp310-cp310-macosx_10_9_x86_64.whl (20.8 MB)
Collecting pillow!=8.3.*,>=5.3.0
  Using cached Pillow-10.0.0-cp310-cp310-macosx_10_10_x86_64.whl (3.4 MB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl (13 kB)
Collecting charset-normalizer<4,>=2
  Using cached charset_normalizer-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl (126 kB)
Collecting urllib3<3,>=1.21.1
  Using cached urllib3-2.0.4-py3-none-any.whl (123 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting mpmath>=0.19
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
Successfully installed MarkupSafe-2.1.3 certifi-2023.7.22 charset-normalizer-3.2.0 filelock-3.12.4 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 numpy-1.25.2 pillow-10.0.0 requests-2.31.0 sympy-1.12 torch-2.0.1 torchvision-0.15.2 typing-extensions-4.7.1 urllib3-2.0.4

[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
Installing clip
Installing open_clip
Cloning Stable Diffusion into /Users/familyaccount/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/Users/familyaccount/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
remote: Enumerating objects: 574, done.
remote: Counting objects: 100% (304/304), done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 574 (delta 244), reused 216 (delta 216), pack-reused 270
Receiving objects: 100% (574/574), 73.43 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (276/276), done.
Updating files: 100% (135/135), done.
Cloning Stable Diffusion XL into /Users/familyaccount/stable-diffusion-webui/repositories/generative-models...
Cloning into '/Users/familyaccount/stable-diffusion-webui/repositories/generative-models'...
remote: Enumerating objects: 740, done.
remote: Counting objects: 100% (563/563), done.
remote: Compressing objects: 100% (283/283), done.
remote: Total 740 (delta 340), reused 425 (delta 266), pack-reused 177
Receiving objects: 100% (740/740), 22.31 MiB | 1.73 MiB/s, done.
Resolving deltas: 100% (378/378), done.
Cloning K-diffusion into /Users/familyaccount/stable-diffusion-webui/repositories/k-diffusion...
Cloning into '/Users/familyaccount/stable-diffusion-webui/repositories/k-diffusion'...
remote: Enumerating objects: 1047, done.
remote: Counting objects: 100% (323/323), done.
remote: Compressing objects: 100% (187/187), done.
remote: Total 1047 (delta 218), reused 234 (delta 136), pack-reused 724
Receiving objects: 100% (1047/1047), 225.32 KiB | 1.45 MiB/s, done.
Resolving deltas: 100% (696/696), done.
Cloning CodeFormer into /Users/familyaccount/stable-diffusion-webui/repositories/CodeFormer...
Cloning into '/Users/familyaccount/stable-diffusion-webui/repositories/CodeFormer'...
remote: Enumerating objects: 594, done.
remote: Counting objects: 100% (245/245), done.
remote: Compressing objects: 100% (98/98), done.
remote: Total 594 (delta 176), reused 167 (delta 147), pack-reused 349
Receiving objects: 100% (594/594), 17.31 MiB | 1.73 MiB/s, done.
Resolving deltas: 100% (287/287), done.
Cloning BLIP into /Users/familyaccount/stable-diffusion-webui/repositories/BLIP...
Cloning into '/Users/familyaccount/stable-diffusion-webui/repositories/BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (165/165), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 277 (delta 137), reused 136 (delta 135), pack-reused 112
Receiving objects: 100% (277/277), 7.03 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Installing requirements for CodeFormer
Installing requirements
Traceback (most recent call last):
  File "/Users/familyaccount/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/familyaccount/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/Users/familyaccount/stable-diffusion-webui/modules/launch_utils.py", line 396, in prepare_environment
    run_pip(f"install -r \"{requirements_file}\"", "requirements")
  File "/Users/familyaccount/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/familyaccount/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install requirements.
Command: "/Users/familyaccount/stable-diffusion-webui/venv/bin/python3.10" -m pip install -r "requirements_versions.txt" --prefer-binary
Error code: 1
stdout: Collecting GitPython==3.1.32
  Using cached GitPython-3.1.32-py3-none-any.whl (188 kB)
Collecting Pillow==9.5.0
  Using cached Pillow-9.5.0-cp310-cp310-macosx_10_10_x86_64.whl (3.4 MB)
Collecting accelerate==0.21.0
  Using cached accelerate-0.21.0-py3-none-any.whl (244 kB)
Collecting basicsr==1.4.2
  Using cached basicsr-1.4.2.tar.gz (172 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting blendmodes==2022
  Using cached blendmodes-2022-py3-none-any.whl (10 kB)
Collecting clean-fid==0.1.35
  Using cached clean_fid-0.1.35-py3-none-any.whl (26 kB)
Collecting einops==0.4.1
  Using cached einops-0.4.1-py3-none-any.whl (28 kB)
Collecting fastapi==0.94.0
  Using cached fastapi-0.94.0-py3-none-any.whl (56 kB)
Collecting gfpgan==1.3.8
  Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB)
Collecting gradio==3.41.2
  Using cached gradio-3.41.2-py3-none-any.whl (20.1 MB)
Collecting httpcore==0.15
  Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Collecting inflection==0.5.1
  Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting jsonmerge==1.8.0
  Using cached jsonmerge-1.8.0-py3-none-any.whl
Collecting kornia==0.6.7
  Using cached kornia-0.6.7-py2.py3-none-any.whl (565 kB)
Collecting lark==1.1.2
  Using cached lark-1.1.2-py2.py3-none-any.whl (104 kB)
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp310-cp310-macosx_10_9_x86_64.whl (18.1 MB)
Collecting omegaconf==2.2.3
  Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Collecting open-clip-torch==2.20.0
  Using cached open_clip_torch-2.20.0-py3-none-any.whl (1.5 MB)
Collecting piexif==1.1.3
  Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting psutil==5.9.5
  Using cached psutil-5.9.5-cp36-abi3-macosx_10_9_x86_64.whl (245 kB)
Collecting pytorch_lightning==1.9.4
  Using cached pytorch_lightning-1.9.4-py3-none-any.whl (827 kB)
Collecting realesrgan==0.3.0
  Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB)
Collecting resize-right==0.0.2
  Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting safetensors==0.3.1
  Using cached safetensors-0.3.1-cp310-cp310-macosx_10_11_x86_64.whl (400 kB)
Requirement already satisfied: scikit-image==0.21.0 in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 25)) (0.21.0)
Collecting timm==0.9.2
  Using cached timm-0.9.2-py3-none-any.whl (2.2 MB)
Collecting tomesd==0.1.3
  Using cached tomesd-0.1.3-py3-none-any.whl (11 kB)
Requirement already satisfied: torch in ./venv/lib/python3.10/site-packages (from -r requirements_versions.txt (line 28)) (2.0.1)
Collecting torchdiffeq==0.2.3
  Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting torchsde==0.2.5
  Using cached torchsde-0.2.5-py3-none-any.whl (59 kB)
Collecting transformers==4.30.2
  Using cached transformers-4.30.2-py3-none-any.whl (7.2 MB)
Collecting gitdb<5,>=4.0.1
  Using cached gitdb-4.0.10-py3-none-any.whl (62 kB)
Requirement already satisfied: pyyaml in ./venv/lib/python3.10/site-packages (from accelerate==0.21.0->-r requirements_versions.txt (line 3)) (6.0.1)
Requirement already satisfied: packaging>=20.0 in ./venv/lib/python3.10/site-packages (from accelerate==0.21.0->-r requirements_versions.txt (line 3)) (23.1)
Requirement already satisfied: addict in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.4.0)
Requirement already satisfied: future in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.18.3)
Requirement already satisfied: lmdb in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.4.1)
Requirement already satisfied: opencv-python in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (4.8.0.76)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.31.0)
Requirement already satisfied: scipy in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.11.2)
Requirement already satisfied: tb-nightly in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.15.0a20230914)
Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.15.2)
Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (4.66.1)
Requirement already satisfied: yapf in ./venv/lib/python3.10/site-packages (from basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.40.1)
Collecting aenum<4,>=3.1.7
  Using cached aenum-3.1.15-py3-none-any.whl (137 kB)
Collecting deprecation<3,>=2.1.0
  Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2
  Using cached pydantic-1.10.12-cp310-cp310-macosx_10_9_x86_64.whl (2.9 MB)
Collecting starlette<0.27.0,>=0.26.0
  Using cached starlette-0.26.1-py3-none-any.whl (66 kB)
Collecting facexlib>=0.2.5
  Using cached facexlib-0.3.0-py3-none-any.whl (59 kB)
Collecting orjson~=3.0
  Using cached orjson-3.9.7-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl (242 kB)
Collecting importlib-resources<7.0,>=1.3
  Using cached importlib_resources-6.0.1-py3-none-any.whl (34 kB)
Collecting websockets<12.0,>=10.0
  Using cached websockets-11.0.3-cp310-cp310-macosx_10_9_x86_64.whl (120 kB)
Requirement already satisfied: huggingface-hub>=0.14.0 in ./venv/lib/python3.10/site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 10)) (0.17.1)
Requirement already satisfied: typing-extensions~=4.0 in ./venv/lib/python3.10/site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 10)) (4.7.1)
Collecting pandas<3.0,>=1.0
  Using cached pandas-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl (12.1 MB)
Collecting ffmpy
  Using cached ffmpy-0.3.1-py3-none-any.whl
Collecting altair<6.0,>=4.2.0
  Using cached altair-5.1.1-py3-none-any.whl (520 kB)
Collecting aiofiles<24.0,>=22.0
  Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting matplotlib~=3.0
  Using cached matplotlib-3.7.3-cp310-cp310-macosx_10_12_x86_64.whl (7.4 MB)
Requirement already satisfied: markupsafe~=2.0 in ./venv/lib/python3.10/site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 10)) (2.1.3)
Requirement already satisfied: jinja2<4.0 in ./venv/lib/python3.10/site-packages (from gradio==3.41.2->-r requirements_versions.txt (line 10)) (3.1.2)
Collecting gradio-client==0.5.0
  Using cached gradio_client-0.5.0-py3-none-any.whl (298 kB)
Collecting semantic-version~=2.0
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting uvicorn>=0.14.0
  Using cached uvicorn-0.23.2-py3-none-any.whl (59 kB)
Collecting httpx
  Using cached httpx-0.25.0-py3-none-any.whl (75 kB)
Collecting python-multipart
  Using cached python_multipart-0.0.6-py3-none-any.whl (45 kB)
Collecting pydub
  Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting anyio==3.*
  Using cached anyio-3.7.1-py3-none-any.whl (80 kB)
Collecting sniffio==1.*
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting h11<0.13,>=0.11
  Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Requirement already satisfied: certifi in ./venv/lib/python3.10/site-packages (from httpcore==0.15->-r requirements_versions.txt (line 11)) (2023.7.22)
Collecting jsonschema
  Using cached jsonschema-4.19.0-py3-none-any.whl (83 kB)
Collecting antlr4-python3-runtime==4.9.*
  Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Requirement already satisfied: ftfy in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.20.0->-r requirements_versions.txt (line 18)) (6.1.1)
Requirement already satisfied: sentencepiece in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.20.0->-r requirements_versions.txt (line 18)) (0.1.99)
Requirement already satisfied: protobuf<4 in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.20.0->-r requirements_versions.txt (line 18)) (3.20.0)
Requirement already satisfied: regex in ./venv/lib/python3.10/site-packages (from open-clip-torch==2.20.0->-r requirements_versions.txt (line 18)) (2023.8.8)
Collecting torchmetrics>=0.7.0
  Using cached torchmetrics-1.1.2-py3-none-any.whl (764 kB)
Requirement already satisfied: fsspec[http]>2021.06.0 in ./venv/lib/python3.10/site-packages (from pytorch_lightning==1.9.4->-r requirements_versions.txt (line 21)) (2023.9.0)
Collecting lightning-utilities>=0.6.0.post0
  Using cached lightning_utilities-0.9.0-py3-none-any.whl (23 kB)
Requirement already satisfied: tifffile>=2022.8.12 in ./venv/lib/python3.10/site-packages (from scikit-image==0.21.0->-r requirements_versions.txt (line 25)) (2023.8.30)
Requirement already satisfied: imageio>=2.27 in ./venv/lib/python3.10/site-packages (from scikit-image==0.21.0->-r requirements_versions.txt (line 25)) (2.31.3)
Requirement already satisfied: lazy_loader>=0.2 in ./venv/lib/python3.10/site-packages (from scikit-image==0.21.0->-r requirements_versions.txt (line 25)) (0.3)
Requirement already satisfied: networkx>=2.8 in ./venv/lib/python3.10/site-packages (from scikit-image==0.21.0->-r requirements_versions.txt (line 25)) (3.1)
Requirement already satisfied: PyWavelets>=1.1.1 in ./venv/lib/python3.10/site-packages (from scikit-image==0.21.0->-r requirements_versions.txt (line 25)) (1.4.1)
Collecting trampoline>=0.1.2
  Using cached trampoline-0.1.2-py3-none-any.whl (5.2 kB)
Collecting boltons>=20.2.1
  Using cached boltons-23.0.0-py2.py3-none-any.whl (194 kB)
Collecting tokenizers!=0.11.3,<0.14,>=0.11.1
  Using cached tokenizers-0.13.3-cp310-cp310-macosx_10_11_x86_64.whl (4.0 MB)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from transformers==4.30.2->-r requirements_versions.txt (line 31)) (3.12.4)
Collecting exceptiongroup
  Using cached exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Requirement already satisfied: idna>=2.8 in ./venv/lib/python3.10/site-packages (from anyio==3.*->httpcore==0.15->-r requirements_versions.txt (line 11)) (3.4)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch->-r requirements_versions.txt (line 28)) (1.12)
Collecting toolz
  Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting numba
  Using cached numba-0.57.1-cp310-cp310-macosx_10_9_x86_64.whl (2.5 MB)
Collecting filterpy
  Using cached filterpy-1.4.5-py3-none-any.whl
Collecting aiohttp!=4.0.0a0,!=4.0.0a1
  Using cached aiohttp-3.8.5-cp310-cp310-macosx_10_9_x86_64.whl (365 kB)
Collecting smmap<6,>=3.0.1
  Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting attrs>=22.2.0
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting rpds-py>=0.7.1
  Using cached rpds_py-0.10.3-cp310-cp310-macosx_10_7_x86_64.whl (333 kB)
Collecting jsonschema-specifications>=2023.03.6
  Using cached jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting referencing>=0.28.4
  Using cached referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.5-cp310-cp310-macosx_10_9_x86_64.whl (68 kB)
Collecting contourpy>=1.0.1
  Using cached contourpy-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl (243 kB)
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pyparsing>=2.3.1
  Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.42.1-cp310-cp310-macosx_10_9_x86_64.whl (2.2 MB)
Collecting pytz>=2020.1
  Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Collecting tzdata>=2022.1
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.10/site-packages (from requests->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.26.16)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (3.2.0)
Collecting click>=7.0
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Requirement already satisfied: wcwidth>=0.2.5 in ./venv/lib/python3.10/site-packages (from ftfy->open-clip-torch==2.20.0->-r requirements_versions.txt (line 18)) (0.2.6)
Collecting httpx
  Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch->-r requirements_versions.txt (line 28)) (1.3.0)
Requirement already satisfied: werkzeug>=1.0.1 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.3.7)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.7.1)
Requirement already satisfied: google-auth<3,>=1.6.3 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.23.0)
Requirement already satisfied: wheel>=0.26 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.41.2)
Requirement already satisfied: six>1.9 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.16.0)
Requirement already satisfied: grpcio>=1.48.2 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.49.1)
Requirement already satisfied: absl-py>=0.4 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.4.0)
Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.0.0)
Requirement already satisfied: markdown>=2.6.8 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (3.4.4)
Requirement already satisfied: setuptools>=41.0.0 in ./venv/lib/python3.10/site-packages (from tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (63.2.0)
Requirement already satisfied: platformdirs>=3.5.1 in ./venv/lib/python3.10/site-packages (from yapf->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (3.10.0)
Requirement already satisfied: importlib-metadata>=6.6.0 in ./venv/lib/python3.10/site-packages (from yapf->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (6.8.0)
Requirement already satisfied: tomli>=2.0.1 in ./venv/lib/python3.10/site-packages (from yapf->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (2.0.1)
Collecting yarl<2.0,>=1.0
  Using cached yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl (65 kB)
Collecting async-timeout<5.0,>=4.0.0a3
  Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting multidict<7.0,>=4.5
  Using cached multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl (29 kB)
Collecting aiosignal>=1.1.2
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting frozenlist>=1.1.1
  Using cached frozenlist-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl (46 kB)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (5.3.1)
Requirement already satisfied: rsa<5,>=3.1.4 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (4.9)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.3.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in ./venv/lib/python3.10/site-packages (from google-auth-oauthlib<1.1,>=0.5->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (1.3.1)
Requirement already satisfied: zipp>=0.5 in ./venv/lib/python3.10/site-packages (from importlib-metadata>=6.6.0->yapf->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (3.16.2)
Collecting llvmlite<0.41,>=0.40.0dev0
  Using cached llvmlite-0.40.1-cp310-cp310-macosx_10_9_x86_64.whl (30.4 MB)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in ./venv/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in ./venv/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tb-nightly->basicsr==1.4.2->-r requirements_versions.txt (line 4)) (3.2.2)
Building wheels for collected packages: basicsr
  Building wheel for basicsr (setup.py): started
  Building wheel for basicsr (setup.py): finished with status 'error'
  Running setup.py clean for basicsr
Failed to build basicsr
Installing collected packages: trampoline, tokenizers, safetensors, resize-right, pytz, pydub, lark, ffmpy, einops, boltons, antlr4-python3-runtime, aenum, websockets, tzdata, toolz, sniffio, smmap, semantic-version, rpds-py, python-multipart, python-dateutil, pyparsing, pydantic, psutil, Pillow, piexif, orjson, omegaconf, numpy, multidict, llvmlite, lightning-utilities, kiwisolver, inflection, importlib-resources, h11, frozenlist, fonttools, exceptiongroup, deprecation, cycler, click, attrs, async-timeout, aiofiles, yarl, uvicorn, referencing, pandas, numba, gitdb, contourpy, blendmodes, anyio, aiosignal, transformers, torchsde, torchmetrics, torchdiffeq, tomesd, starlette, matplotlib, kornia, jsonschema-specifications, httpcore, GitPython, aiohttp, accelerate, timm, jsonschema, httpx, filterpy, fastapi, clean-fid, pytorch_lightning, open-clip-torch, jsonmerge, gradio-client, facexlib, basicsr, altair, gradio, gfpgan, realesrgan
  Attempting uninstall: Pillow
    Found existing installation: Pillow 10.0.0
    Uninstalling Pillow-10.0.0:
      Successfully uninstalled Pillow-10.0.0
  Attempting uninstall: numpy
    Found existing installation: numpy 1.25.2
    Uninstalling numpy-1.25.2:
      Successfully uninstalled numpy-1.25.2
  Attempting uninstall: open-clip-torch
    Found existing installation: open-clip-torch 2.7.0
    Uninstalling open-clip-torch-2.7.0:
      Successfully uninstalled open-clip-torch-2.7.0
  Running setup.py install for basicsr: started
  Running setup.py install for basicsr: finished with status 'error'

stderr:   error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      /Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/setup.py", line 147, in <module>
          setup(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
          return self.obtain(req, installer)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
          return installer(requirement)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
          return fetch_build_egg(self, req)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
          wheel.install_as_egg(dist_location)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for basicsr
  error: subprocess-exited-with-error
  
  × python setup.py clean did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      /Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/setup.py", line 147, in <module>
          setup(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
          return self.obtain(req, installer)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
          return installer(requirement)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
          return fetch_build_egg(self, req)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
          wheel.install_as_egg(dist_location)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for basicsr
  error: subprocess-exited-with-error
  
  × Running setup.py install for basicsr did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      /Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/setup.py", line 147, in <module>
          setup(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
          _install_setup_requires(attrs)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
          dist = best[req.key] = env.best_match(
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
          return self.obtain(req, installer)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
          return installer(requirement)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
          return fetch_build_egg(self, req)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
          wheel.install_as_egg(dist_location)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/familyaccount/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> basicsr

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

familyaccount@Prabs-iMac stable-diffusion-webui % >....                         
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/Cython-3.0.2.dist-info' -> '/private/var/folders/35/ms8m5gts0z7_dddhqkhv_ymm0000gn/T/pip-install-j2sy9v3a/basicsr_21a80b8f3df543889466791fae881f6f/.eggs/Cython-3.0.2-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> basicsr

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
```


### Additional information

_No response_