Closed dinmakers closed 1 year ago
same....
In the run_webui_mac.sh
file add the following as a new line after conda activate web-ui
and before git pull --rebase
:
pip install GitPython
then run ./run_webui_mac.sh
Thank you.
On 1 Nov 2022, at 15:33, thesved @.***> wrote:
In the run_webui_mac.sh file add the following as a new line after conda activate web-ui and before git pull --rebase: pip install GitPython
then run ./run_webui_mac.sh
— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1298711749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OXLWQ6WWWQ5AEUUDLWL3WGEZ33ANCNFSM6AAAAAARUCAF4Y. You are receiving this because you authored the thread.
This is the error I am currently getting, any advice on getting this up and running again?
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable {'PYTORCH_ENABLE_MPS_FALLBACK'}
/Users/wesley/.bash_profile: line 19: pyenv: command not found
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable {'PYTORCH_ENABLE_MPS_FALLBACK'}
error: cannot pull with rebase: You have unstaged changes.
error: please commit or stash them.
/Users/wesley/miniconda3/envs/web-ui/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: dlopen(/Users/wesley/miniconda3/envs/web-ui/lib/python3.10/site-packages/torchvision/image.so, 0x0006): Symbol not found: (__ZN3c106detail19maybe_wrap_dim_slowExxb)
Referenced from: '/Users/wesley/miniconda3/envs/web-ui/lib/python3.10/site-packages/torchvision/image.so'
Expected in: '/Users/wesley/miniconda3/envs/web-ui/lib/python3.10/site-packages/torch/lib/libc10.dylib'
warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 12, in
I go and fix clip and it then complains it can't find the module named fastapi...etc.
tried ./run_webui-mac.sh and still getting error
ModuleNotFoundError: No module named 'clip'
Will look into these issues this weekend.
All these ModuleNotFoundError: No module named 'X'
errors can be solved the same way: you have to install them
pip install clip
ModuleNotFoundError: No module named 'git'
) and see how you can install it, in git's case it was pip install GitPython
So follow these 2 steps to solve any future issue when a module is missing.
Nuclear option: you may restart the installation from the beginning hoping that the original install script is updated to include the missing module
You can modify your run_webui_mac.sh
to add a line that tries to install the required dependencies with pip install -r requirements.txt
each time it starts, after it pulls the latest code. This would probably make a sensible default, and is fairly quick to run, so it might be worth someone telling the original author to include it in their setup script to avoid this sort of error for end users in future:
Here is what mine looks like:
#!/usr/bin/env bash -l
pyenv local anaconda3-2022.05
# This should not be needed since it's configured during installation, but might as well have it here.
conda env config vars set PYTORCH_ENABLE_MPS_FALLBACK=1
# Activate conda environment
conda activate web-ui
# Pull the latest changes from the repo
git pull --rebase
+ # Update the dependencies if needed
+ pip install -r requirements.txt
# Run the web ui
python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
# Deactivate conda environment
conda deactivate
I'm trying to revert back to a previous version using git log/git checkout, has anyone found a commit number that allows the local server/web-ui to open?
See (https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4061) TLDR:
git checkout 9b384df
^ This is correct. Will be monitoring this thread, please someone post when the update has been fixed and we can update SD again. When we can, we use
git checkout master git pull
so that it updates with git pull again. In the meantime, will just have to run on that.
In the
run_webui_mac.sh
file add the following as a new line afterconda activate web-ui
and beforegit pull --rebase
:
pip install GitPython
then run
./run_webui_mac.sh
^did this not solve it for you?
I'm running on macOS (not M1), with the latest pulled code, and it's all working perfectly fine for me..?
In the
run_webui_mac.sh
file add the following as a new line afterconda activate web-ui
and beforegit pull --rebase
:pip install GitPython
then run./run_webui_mac.sh
^did this not solve it for you?
I'm running on macOS (not M1), with the latest pulled code, and it's all working perfectly fine for me..?
No, it didn't. I am on M1 though, so that might have something to do with it? But it didn't fix it, no.
What are the specific errors you're seeing, as I don't think the M1 part is going to be making a difference.
pip install GitPython
In the
run_webui_mac.sh
file add the following as a new line afterconda activate web-ui
and beforegit pull --rebase
:pip install GitPython
then run./run_webui_mac.sh
^did this not solve it for you? I'm running on macOS (not M1), with the latest pulled code, and it's all working perfectly fine for me..?
No, it didn't. I am on M1 though, so that might have something to do with it? But it didn't fix it, no.
Same situation here, a lot of modules not found (fastapi most persistently but pillow version and other random things when one of those is solved) stuff here that doesn't respond to pip or conda install efforts, either directly to the web-ui or the folder or directly into the conda/bin directory. Also the git checkout https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/9b384dfb5c05129f50cc3f0262f89e8b788e5cf3 offered as a solution hasn't worked either.
Are you guys on MacOS Ventura, by any chance? I've been running A111 amazingly on M1 machine for weeks....Upgraded to Ventura after everything seemed good and things have not been the same but I don't know if it's because of that or I screwed up Python paths. Uninstalled and redid Homebrew and A111 and A1111 is still opening BUT this mysterious 'python3.10' loads in dock and is 'not responding (never seen that before), images can generate but if you change an image to a dimension of 1024 (which it would do easily for weeks), the dock python process force quits and Terminal shows:
| 0/20 [00:00<?, ?it/s]/AppleInternal/Library/BuildRoots/f0468ab4-4115-11ed-8edc-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32'
./run_webui_mac.sh: line 13: 41736 Abort trap: 6 python webui.py --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
/opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
The weird dock process now launching with Automatic1111. 🤔
Are you guys on MacOS Ventura, by any chance? I've been running A111 amazingly on M1 machine for weeks....Upgraded to Ventura after everything seemed good and things have not been the same but I don't know if it's because of that or I screwed up Python paths. Uninstalled and redid Homebrew and A111 and A1111 is still opening BUT this mysterious 'python3.10' loads in dock and is 'not responding (never seen that before), images can generate but if you change an image to a dimension of 1024 (which it would do easily for weeks), the dock python process force quits and Terminal shows:
| 0/20 [00:00<?, ?it/s]/AppleInternal/Library/BuildRoots/f0468ab4-4115-11ed-8edc-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32' ./run_webui_mac.sh: line 13: 41736 Abort trap: 6 python webui.py --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@ /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
The weird dock process now launching with Automatic1111. 🤔
That was showing up for me before my Ventura upgrade. Not at all sure about it. And can't test to see if it comes up because nothing launches when running the .run script.
I'm not on Ventura, no.
Are you guys on MacOS Ventura, by any chance?
I'm on macOS Ventura (non-M1, older Intel CPU) and it's all running perfectly fine after adding a line to run_webui_mac.sh
to install all of the requirements from the requirements.txt
file (which is the correct way to resolve it, and not attempting to manually install each thing arbitrarily individually when it fails).
As I mentioned in my comment above: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1304747007
You can modify your
run_webui_mac.sh
to add a line that tries to install the required dependencies withpip install -r requirements.txt
each time it starts, after it pulls the latest code.
Not sure about the weird frozen python3.10 thing though, haven't seen that on my machine.
Same situation here, a lot of modules not found (fastapi most persistently but pillow version and other random things when one of those is solved) stuff here that doesn't respond to pip or conda install efforts, either directly to the web-ui or the folder or directly into the conda/bin directory.
@swankwc When you say "doesn't respond to pip or conda install efforts", what specifically have you tried, what were the errors produced, etc. Currently you haven't really provided sufficient context/information to be able to help debug/solve your issue.
I think I have isolated the weird dock 'python 3.10' to the Python freezing in 'Activity Monitor' as soon as http://127.0.0.1:7860 launches – so, so weird because this continues after a complete Python gut uninstall and reinstall...Something's not playing right and it's hard to figure out what that is.
Same situation here, a lot of modules not found (fastapi most persistently but pillow version and other random things when one of those is solved) stuff here that doesn't respond to pip or conda install efforts, either directly to the web-ui or the folder or directly into the conda/bin directory.
@swankwc When you say "doesn't respond to pip or conda install efforts", what specifically have you tried, what were the errors produced, etc. Currently you haven't really provided sufficient context/information to be able to help debug/solve your issue.
The errors either remain the same or are replaced with another module not found error. I have tried your modified script trying to get it to install the requirements, but nothing loads. I have even uninstalled the whole requirements list to install it again, and just get the following kind of error for many of the requirements.
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 7, in
Replace fastapi with, jsonmerge, pillow_version, torch etc. Nothing seems to stick even though I deactivate and reactivate the env or cd into the conda/bin directory, running the install in the same way one runs a script, as I had been advised to do. I have pip/pip2/brew/conda/etc install, uninstall or reinstalled but the error remains or shifts to another similar error and often loops back around to the original error. I have tried a clean install a lot of times, but even though things say the requirements are already satisfied I get stuck at the same place. Not at all sure what I'm doing wrong. Also, not sure why that part is in a code copy box above, not that familiar with coding or github syntax.
and here a totally fresh install log - by the way git checkout "oldversion" doesnt work at all either :(
Last login: Mon Nov 7 09:40:52 on ttys001
(base) ➜ ~ /Users/bamboozle/setup_mac.sh
conda is installed.
no change /Users/bamboozle/opt/miniconda3/condabin/conda
no change /Users/bamboozle/opt/miniconda3/bin/conda
no change /Users/bamboozle/opt/miniconda3/bin/conda-env
no change /Users/bamboozle/opt/miniconda3/bin/activate
no change /Users/bamboozle/opt/miniconda3/bin/deactivate
no change /Users/bamboozle/opt/miniconda3/etc/profile.d/conda.sh
no change /Users/bamboozle/opt/miniconda3/etc/fish/conf.d/conda.fish
no change /Users/bamboozle/opt/miniconda3/shell/condabin/Conda.psm1
no change /Users/bamboozle/opt/miniconda3/shell/condabin/conda-hook.ps1
no change /Users/bamboozle/opt/miniconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change /Users/bamboozle/opt/miniconda3/etc/profile.d/conda.csh
no change /Users/bamboozle/.bash_profile
No action taken.
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.9.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /Users/bamboozle/opt/miniconda3/envs/web-ui
added / updated specs:
- python=3.10
The following NEW packages will be INSTALLED:
bzip2 pkgs/main/osx-arm64::bzip2-1.0.8-h620ffc9_4
ca-certificates pkgs/main/osx-arm64::ca-certificates-2022.10.11-hca03da5_0
certifi pkgs/main/osx-arm64::certifi-2022.9.24-py310hca03da5_0
libcxx pkgs/main/osx-arm64::libcxx-14.0.6-h848a8c0_0
libffi pkgs/main/osx-arm64::libffi-3.4.2-hc377ac9_4
ncurses pkgs/main/osx-arm64::ncurses-6.3-h1a28f6b_3
openssl pkgs/main/osx-arm64::openssl-1.1.1s-h1a28f6b_0
pip pkgs/main/osx-arm64::pip-22.2.2-py310hca03da5_0
python pkgs/main/osx-arm64::python-3.10.6-hbdb9e5c_1
readline pkgs/main/osx-arm64::readline-8.2-h1a28f6b_0
setuptools pkgs/main/osx-arm64::setuptools-65.5.0-py310hca03da5_0
sqlite pkgs/main/osx-arm64::sqlite-3.39.3-h1058600_0
tk pkgs/main/osx-arm64::tk-8.6.12-hb8d0fd4_0
tzdata pkgs/main/noarch::tzdata-2022f-h04d1e81_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-arm64::xz-5.2.6-h1a28f6b_0
zlib pkgs/main/osx-arm64::zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate web-ui
#
# To deactivate an active environment, use
#
# $ conda deactivate
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 10610, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 10610 (delta 16), reused 29 (delta 7), pack-reused 10562
Receiving objects: 100% (10610/10610), 23.56 MiB | 22.15 MiB/s, done.
Resolving deltas: 100% (7399/7399), done.
=============================================
=============================================
===========STABLE DIFFUSION MODEL============
=============================================
=============================================
If you've already downloaded the model, you now have time to copy it yourself to stable-diffusion-webui/models/Stable-diffusion/
If you haven't downloaded the model yet, you can enter n to downloaded the model from hugging face.
Have you already installed the model? (y/n) y
Skipping model installation
Cloning into 'repositories/stable-diffusion'...
remote: Enumerating objects: 313, done.
remote: Total 313 (delta 0), reused 0 (delta 0), pack-reused 313
Receiving objects: 100% (313/313), 42.63 MiB | 5.30 MiB/s, done.
Resolving deltas: 100% (103/103), done.
Cloning into 'repositories/taming-transformers'...
remote: Enumerating objects: 1335, done.
remote: Total 1335 (delta 0), reused 0 (delta 0), pack-reused 1335
Receiving objects: 100% (1335/1335), 409.77 MiB | 24.68 MiB/s, done.
Resolving deltas: 100% (279/279), done.
Cloning into 'repositories/CodeFormer'...
remote: Enumerating objects: 395, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 395 (delta 125), reused 113 (delta 110), pack-reused 223
Receiving objects: 100% (395/395), 12.57 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (168/168), done.
Cloning into 'repositories/BLIP'...
remote: Enumerating objects: 274, done.
remote: Counting objects: 100% (157/157), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 274 (delta 132), reused 118 (delta 118), pack-reused 117
Receiving objects: 100% (274/274), 7.04 MiB | 15.67 MiB/s, done.
Resolving deltas: 100% (151/151), done.
Cloning into 'repositories/k-diffusion'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (312/312), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 774 (delta 246), reused 265 (delta 215), pack-reused 462
Receiving objects: 100% (774/774), 159.23 KiB | 2.45 MiB/s, done.
Resolving deltas: 100% (518/518), done.
All files are in place. Continuing installation.
Collecting basicsr
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting diffusers
Using cached diffusers-0.7.2-py3-none-any.whl (304 kB)
Collecting fairscale==0.4.4
Using cached fairscale-0.4.4.tar.gz (235 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting fonts
Using cached fonts-0.0.3-py3-none-any.whl (4.2 kB)
Collecting font-roboto
Using cached font_roboto-0.0.1-py3-none-any.whl
Collecting gfpgan
Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB)
Collecting gradio==3.9
Using cached gradio-3.9-py3-none-any.whl (11.6 MB)
Collecting invisible-watermark
Using cached invisible_watermark-0.1.5-py3-none-any.whl (1.6 MB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Collecting omegaconf
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting piexif
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting Pillow
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting pytorch_lightning==1.7.7
Using cached pytorch_lightning-1.7.7-py3-none-any.whl (708 kB)
Collecting realesrgan
Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB)
Collecting scikit-image>=0.19
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Collecting timm==0.4.12
Using cached timm-0.4.12-py3-none-any.whl (376 kB)
Collecting transformers==4.19.2
Using cached transformers-4.19.2-py3-none-any.whl (4.2 MB)
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Collecting einops
Using cached einops-0.5.0-py3-none-any.whl (36 kB)
Collecting jsonmerge
Using cached jsonmerge-1.9.0-py3-none-any.whl
Collecting clean-fid
Using cached clean_fid-0.1.34-py3-none-any.whl (26 kB)
Collecting resize-right
Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting torchdiffeq
Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting kornia
Using cached kornia-0.6.8-py2.py3-none-any.whl (551 kB)
Collecting lark
Using cached lark-1.1.4-py3-none-any.whl (107 kB)
Collecting inflection
Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting GitPython
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Collecting pydantic
Using cached pydantic-1.10.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting aiohttp
Using cached aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
Collecting pandas
Using cached pandas-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Collecting httpx
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Collecting paramiko
Using cached paramiko-2.12.0-py2.py3-none-any.whl (213 kB)
Collecting websockets
Using cached websockets-10.4-cp310-cp310-macosx_11_0_arm64.whl (97 kB)
Collecting pycryptodome
Using cached pycryptodome-3.15.0-cp35-abi3-macosx_11_0_arm64.whl
Collecting fsspec
Using cached fsspec-2022.10.0-py3-none-any.whl (138 kB)
Collecting h11<0.13,>=0.11
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
Collecting uvicorn
Using cached uvicorn-0.19.0-py3-none-any.whl (56 kB)
Collecting orjson
Using cached orjson-3.8.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (490 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting python-multipart
Using cached python_multipart-0.0.5-py3-none-any.whl
Collecting packaging>=17.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyDeprecate>=0.3.1
Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting torchmetrics>=0.7.0
Using cached torchmetrics-0.10.2-py3-none-any.whl (529 kB)
Collecting typing-extensions>=4.0.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting tqdm>=4.57.0
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1.tar.gz (220 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting huggingface-hub<1.0,>=0.1.0
Using cached huggingface_hub-0.10.1-py3-none-any.whl (163 kB)
Collecting regex!=2019.12.17
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221106-py3-none-any.whl (6.0 MB)
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting importlib-metadata
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-1zvwyq2h/onnx_40bd61a081fa49b795751d4fc9707cf9/setup.py", line 81, in <module>
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Cloning https://github.com/openai/CLIP.git (to revision d50d76daa670286dd6cacf3bcd80b5e4823fc8e1) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-g68f0ubt
Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-g68f0ubt
Running command git rev-parse -q --verify 'sha^d50d76daa670286dd6cacf3bcd80b5e4823fc8e1'
Running command git fetch -q https://github.com/openai/CLIP.git d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Resolved https://github.com/openai/CLIP.git to commit d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Preparing metadata (setup.py) ... done
Collecting ftfy
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting regex
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting wcwidth>=0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting typing-extensions
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting pillow!=8.3.*,>=5.3.0
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2022.9.24)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Building wheels for collected packages: clip
Building wheel for clip (setup.py) ... done
Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369370 sha256=627fdd7f848f4fdf939b91d2afb7afe02650607dfbf4f2d0592a1b0e8070c271
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/56/93/51/4bad85c7f917afc40abc2efdf783bfc4944cbb3f535c54da76
Successfully built clip
Installing collected packages: wcwidth, urllib3, typing-extensions, tqdm, regex, pillow, numpy, idna, ftfy, charset-normalizer, torch, requests, torchvision, clip
Successfully installed charset-normalizer-2.1.1 clip-1.0 ftfy-6.1.1 idna-3.4 numpy-1.23.4 pillow-9.3.0 regex-2022.10.31 requests-2.28.1 torch-1.13.0 torchvision-0.14.0 tqdm-4.64.1 typing-extensions-4.4.0 urllib3-1.26.12 wcwidth-0.2.5
Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-fpoaz36x
Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-fpoaz36x
Running command git rev-parse -q --verify 'sha^8d2447a2d918f8eba5a4a01463fd48e45126a379'
Running command git fetch -q https://github.com/TencentARC/GFPGAN.git 8d2447a2d918f8eba5a4a01463fd48e45126a379
Running command git checkout -q 8d2447a2d918f8eba5a4a01463fd48e45126a379
Resolved https://github.com/TencentARC/GFPGAN.git to commit 8d2447a2d918f8eba5a4a01463fd48e45126a379
Preparing metadata (setup.py) ... done
Collecting basicsr>=1.4.2
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Requirement already satisfied: numpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.23.4)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221106-py3-none-any.whl (6.0 MB)
Requirement already satisfied: torch>=1.7 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.13.0)
Requirement already satisfied: torchvision in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.14.0)
Requirement already satisfied: tqdm in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.64.1)
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting scikit-image
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Requirement already satisfied: Pillow in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (9.3.0)
Requirement already satisfied: requests in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.28.1)
Collecting filterpy
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting numba
Using cached numba-0.56.4-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Requirement already satisfied: typing-extensions in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (4.4.0)
Requirement already satisfied: setuptools>=41.0.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (65.5.0)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.14.0-py2.py3-none-any.whl (175 kB)
Collecting grpcio>=1.24.3
Using cached grpcio-1.50.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting absl-py>=0.4
Using cached absl_py-1.3.0-py3-none-any.whl (124 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting protobuf<4,>=3.9.2
Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
Requirement already satisfied: wheel>=0.26 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.37.1)
Collecting six>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cachetools<6.0,>=2.0.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: charset-normalizer<3,>=2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2022.9.24)
Collecting MarkupSafe>=2.1.1
Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl (17 kB)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting llvmlite<0.40,>=0.39.0dev0
Using cached llvmlite-0.39.1-cp310-cp310-macosx_11_0_arm64.whl (23.1 MB)
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB)
Collecting imageio>=2.4.1
Using cached imageio-2.22.4-py3-none-any.whl (3.4 MB)
Collecting networkx>=2.2
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting packaging>=20.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.10.10-py3-none-any.whl (210 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp310-cp310-macosx_11_0_arm64.whl (63 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting python-dateutil>=2.7
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.6-cp310-cp310-macosx_11_0_arm64.whl (225 kB)
Building wheels for collected packages: gfpgan
Building wheel for gfpgan (setup.py) ... done
Created wheel for gfpgan: filename=gfpgan-1.3.5-py3-none-any.whl size=47756 sha256=69580644e4db05af4e494cc2631b6e667c1d3117f45237fbccfd4ec21dbb35a6
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/a7/79/e9/6dd2a17214c1e33aaee58997f824dfa01f2d8c45d1b5a6baae
Successfully built gfpgan
Installing collected packages: yapf, tensorboard-plugin-wit, pyasn1, lmdb, addict, tifffile, tensorboard-data-server, six, scipy, rsa, pyyaml, PyWavelets, pyparsing, pyasn1-modules, protobuf, opencv-python, oauthlib, networkx, MarkupSafe, markdown, llvmlite, kiwisolver, imageio, future, fonttools, cycler, contourpy, cachetools, absl-py, werkzeug, requests-oauthlib, python-dateutil, packaging, numba, grpcio, google-auth, scikit-image, matplotlib, google-auth-oauthlib, tb-nightly, filterpy, facexlib, basicsr, gfpgan
Successfully installed MarkupSafe-2.1.1 PyWavelets-1.4.1 absl-py-1.3.0 addict-2.4.0 basicsr-1.4.2 cachetools-5.2.0 contourpy-1.0.6 cycler-0.11.0 facexlib-0.2.5 filterpy-1.4.5 fonttools-4.38.0 future-0.18.2 gfpgan-1.3.5 google-auth-2.14.0 google-auth-oauthlib-0.4.6 grpcio-1.50.0 imageio-2.22.4 kiwisolver-1.4.4 llvmlite-0.39.1 lmdb-1.3.0 markdown-3.4.1 matplotlib-3.6.2 networkx-2.8.8 numba-0.56.4 oauthlib-3.2.2 opencv-python-4.6.0.66 packaging-21.3 protobuf-3.20.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-6.0 requests-oauthlib-1.3.1 rsa-4.9 scikit-image-0.19.3 scipy-1.9.3 six-1.16.0 tb-nightly-2.11.0a20221106 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tifffile-2022.10.10 werkzeug-2.2.2 yapf-0.32.0
Collecting torch==1.12.1
Using cached torch-1.12.1-cp310-none-macosx_11_0_arm64.whl (49.1 MB)
Collecting torchvision==0.13.1
Using cached torchvision-0.13.1-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB)
Requirement already satisfied: typing-extensions in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
Requirement already satisfied: requests in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (2.28.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (9.3.0)
Requirement already satisfied: numpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (1.23.4)
Requirement already satisfied: idna<4,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2022.9.24)
Requirement already satisfied: charset-normalizer<3,>=2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (1.26.12)
Installing collected packages: torch, torchvision
Attempting uninstall: torch
Found existing installation: torch 1.13.0
Uninstalling torch-1.13.0:
Successfully uninstalled torch-1.13.0
Attempting uninstall: torchvision
Found existing installation: torchvision 0.14.0
Uninstalling torchvision-0.14.0:
Successfully uninstalled torchvision-0.14.0
Successfully installed torch-1.12.1 torchvision-0.13.1
patching file functional.py
Collecting gdown
Using cached gdown-4.5.3-py3-none-any.whl
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting psutil
Using cached psutil-5.9.3-cp310-cp310-macosx_11_0_arm64.whl (243 kB)
Requirement already satisfied: six in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (1.16.0)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Requirement already satisfied: tqdm in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (4.64.1)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Requirement already satisfied: requests[socks] in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (2.28.1)
Collecting starlette==0.20.4
Using cached starlette-0.20.4-py3-none-any.whl (63 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.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Collecting soupsieve>1.2
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Requirement already satisfied: charset-normalizer<3,>=2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (1.26.12)
Requirement already satisfied: idna<4,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2022.9.24)
Collecting PySocks!=1.5.7,>=1.5.6
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting sniffio>=1.1
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Installing collected packages: soupsieve, sniffio, PySocks, pydantic, psutil, filelock, beautifulsoup4, anyio, starlette, gdown, fastapi
Successfully installed PySocks-1.7.1 anyio-3.6.2 beautifulsoup4-4.11.1 fastapi-0.86.0 filelock-3.8.0 gdown-4.5.3 psutil-5.9.3 pydantic-1.10.2 sniffio-1.3.0 soupsieve-2.3.2.post1 starlette-0.20.4
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
=============================================
=============================================
==============MORE INFORMATION===============
=============================================
=============================================
If you want to run the web UI again, you can run the following command:
./stable-diffusion-webui/run_webui_mac.sh
or
cd stable-diffusion-webui && ./run_webui_mac.sh
=============================================
=============================================
=============================================
=============================================
Traceback (most recent call last):
File "/Users/bamboozle/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/bamboozle/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/config.py", line 6, in <module>
from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'
(base) ➜ ~
All these
ModuleNotFoundError: No module named 'X'
errors can be solved the same way: you have to install them
- add them to your run_webui_mac.sh as in [Bug]: No longer able to start local server on M1 Mac. #4109 (comment), in this case
pip install clip
- sometimes it doesn't work, eg when "ModuleNotFoundError: No module named 'git'" came back which you can't install via pip install git, then you search on google for this exact error message (
ModuleNotFoundError: No module named 'git'
) and see how you can install it, in git's case it waspip install GitPython
So follow these 2 steps to solve any future issue when a module is missing.
Nuclear option: you may restart the installation from the beginning hoping that the original install script is updated to include the missing module
not working mate - pip install XYZ. conda install XYZ, brew install XYZ all not working and not "sticking"
Im starting to think that this is a VENTURA error...
RE: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1305277589
and here a totally fresh install log - by the way git checkout "oldversion" doesnt work at all either :(
@Gitterman69 Thanks for the detailed logs, very helpful :) The things that jump out to me here are:
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-1zvwyq2h/onnx_40bd61a081fa49b795751d4fc9707cf9/setup.py", line 81, in <module>
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Do you have cmake
installed?
Traceback (most recent call last):
File "/Users/bamboozle/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/bamboozle/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/config.py", line 6, in <module>
from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'
This one is a little more confusing to me, as the earlier output seems to suggest that jsonmerge
was installed.. I would probably figure the cmake
issue first and then see if this one goes away.
@Gitterman69 did you previously post logs from a not fresh install as well? I saw them come through on email, but not here on the repo anymore?
Looking at the code in the email notification, these are the parts that jumped out at me:
You are not currently on a branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.
git pull <remote> <branch>
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-87ijs_7x/onnx_55d97959bba24122854c92344f18b44d/setup.py", line 81, in <module>
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting skimage
Using cached skimage-0.0.tar.gz (757 bytes)
ERROR: Command errored out with exit status 1:
command: /Users/bamboozle/opt/miniconda3/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-pupow0vp/skimage_b28b8779130f4933812504f8e4b85d51/setup.py'"'"'; __file__='"'"'/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-pupow0vp/skimage_b28b8779130f4933812504f8e4b85d51/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-pip-egg-info-_e6f3tgp
cwd: /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-pupow0vp/skimage_b28b8779130f4933812504f8e4b85d51/
Complete output (3 lines):
*** Please install the `scikit-image` package (instead of `skimage`) ***
Also, it looked like you were manually pip install
'ing all of the missing dependencies 1 by 1, which is a surefire way to get invalid versions and similar. The correct (and 99% of the time only, unless you know exactly what you're doing and why) way to do this properly is pip install -r requirements.txt
, as it will contain all of the required dependencies, versions, etc.
Im starting to think that this is a VENTURA error...
I would bet money that it isn't tbh. Just need to debug and follow the process to narrow down where the actual errors are that you're running into, and eliminate them.
I’m running Ventura. Adding that extra script step has fixed the issue for me. SD will now launch and the web browser is able to access.
Andy
On 7 Nov 2022, at 10:10, 0xdevalias @.***> wrote:
Im starting to think that this is a VENTURA error...
I would bet money that it isn't tbh. Just need to debug and follow the process to narrow down where the actual errors are that you're running into, and eliminate them.
— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1305379366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3OXLTLCGXMTH2ZONUCLILWHDIPVANCNFSM6AAAAAARUCAF4Y. You are receiving this because you authored the thread.
Thanks for your feedback! I tried another "fresh" install and "pip install cmake" it seemed to go a bit further now but still not working due to the requirements not really "sticking" to the environment / installation
ill keep trying.... still weird, since the only thing i changed is that i updated to ventura. maybe i installed miniconda and conda while setting up the macbook.... anyways i love the community here and miss my automatic1111 web-ui#
`Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB)
Collecting onnxruntime
Using cached onnxruntime-1.13.1-cp310-cp310-macosx_11_0_arm64.whl (5.4 MB)
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-gwbk0gi4/onnx_40f2d38231c84b61961b6e05dc96002c/setup.py", line 81, in <module>
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
`
FULL LOG BELOW
Last login: Mon Nov 7 13:25:25 on ttys000
(base) ➜ ~ /Users/bamboozle/setup_mac.sh
conda is installed.
no change /opt/homebrew/Caskroom/miniconda/base/condabin/conda
no change /opt/homebrew/Caskroom/miniconda/base/bin/conda
no change /opt/homebrew/Caskroom/miniconda/base/bin/conda-env
no change /opt/homebrew/Caskroom/miniconda/base/bin/activate
no change /opt/homebrew/Caskroom/miniconda/base/bin/deactivate
no change /opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh
no change /opt/homebrew/Caskroom/miniconda/base/etc/fish/conf.d/conda.fish
no change /opt/homebrew/Caskroom/miniconda/base/shell/condabin/Conda.psm1
no change /opt/homebrew/Caskroom/miniconda/base/shell/condabin/conda-hook.ps1
no change /opt/homebrew/Caskroom/miniconda/base/lib/python3.9/site-packages/xontrib/conda.xsh
no change /opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.csh
no change /Users/bamboozle/.bash_profile
No action taken.
Remove all packages in environment /opt/homebrew/Caskroom/miniconda/base/envs/web-ui:
## Package Plan ##
environment location: /opt/homebrew/Caskroom/miniconda/base/envs/web-ui
The following packages will be REMOVED:
bzip2-1.0.8-h620ffc9_4
ca-certificates-2022.10.11-hca03da5_0
certifi-2022.9.24-py310hca03da5_0
libcxx-14.0.6-h848a8c0_0
libffi-3.4.2-hc377ac9_4
ncurses-6.3-h1a28f6b_3
openssl-1.1.1s-h1a28f6b_0
pip-22.2.2-py310hca03da5_0
python-3.10.6-hbdb9e5c_1
readline-8.2-h1a28f6b_0
setuptools-65.5.0-py310hca03da5_0
sqlite-3.39.3-h1058600_0
tk-8.6.12-hb8d0fd4_0
tzdata-2022f-h04d1e81_0
wheel-0.37.1-pyhd3eb1b0_0
xz-5.2.6-h1a28f6b_0
zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /opt/homebrew/Caskroom/miniconda/base/envs/web-ui
added / updated specs:
- python=3.10
The following NEW packages will be INSTALLED:
bzip2 pkgs/main/osx-arm64::bzip2-1.0.8-h620ffc9_4 None
ca-certificates pkgs/main/osx-arm64::ca-certificates-2022.10.11-hca03da5_0 None
certifi pkgs/main/osx-arm64::certifi-2022.9.24-py310hca03da5_0 None
libcxx pkgs/main/osx-arm64::libcxx-14.0.6-h848a8c0_0 None
libffi pkgs/main/osx-arm64::libffi-3.4.2-hc377ac9_4 None
ncurses pkgs/main/osx-arm64::ncurses-6.3-h1a28f6b_3 None
openssl pkgs/main/osx-arm64::openssl-1.1.1s-h1a28f6b_0 None
pip pkgs/main/osx-arm64::pip-22.2.2-py310hca03da5_0 None
python pkgs/main/osx-arm64::python-3.10.6-hbdb9e5c_1 None
readline pkgs/main/osx-arm64::readline-8.2-h1a28f6b_0 None
setuptools pkgs/main/osx-arm64::setuptools-65.5.0-py310hca03da5_0 None
sqlite pkgs/main/osx-arm64::sqlite-3.39.3-h1058600_0 None
tk pkgs/main/osx-arm64::tk-8.6.12-hb8d0fd4_0 None
tzdata pkgs/main/noarch::tzdata-2022f-h04d1e81_0 None
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0 None
xz pkgs/main/osx-arm64::xz-5.2.6-h1a28f6b_0 None
zlib pkgs/main/osx-arm64::zlib-1.2.13-h5a0b063_0 None
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate web-ui
#
# To deactivate an active environment, use
#
# $ conda deactivate
Retrieving notices: ...working... done
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 10610, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 10610 (delta 16), reused 31 (delta 10), pack-reused 10562
Receiving objects: 100% (10610/10610), 23.59 MiB | 10.72 MiB/s, done.
Resolving deltas: 100% (7392/7392), done.
=============================================
=============================================
===========STABLE DIFFUSION MODEL============
=============================================
=============================================
If you've already downloaded the model, you now have time to copy it yourself to stable-diffusion-webui/models/Stable-diffusion/
If you haven't downloaded the model yet, you can enter n to downloaded the model from hugging face.
Have you already installed the model? (y/n) y
Skipping model installation
Cloning into 'repositories/stable-diffusion'...
remote: Enumerating objects: 313, done.
remote: Total 313 (delta 0), reused 0 (delta 0), pack-reused 313
Receiving objects: 100% (313/313), 42.63 MiB | 10.74 MiB/s, done.
Resolving deltas: 100% (103/103), done.
Cloning into 'repositories/taming-transformers'...
remote: Enumerating objects: 1335, done.
remote: Total 1335 (delta 0), reused 0 (delta 0), pack-reused 1335
Receiving objects: 100% (1335/1335), 409.77 MiB | 10.91 MiB/s, done.
Resolving deltas: 100% (279/279), done.
Cloning into 'repositories/CodeFormer'...
remote: Enumerating objects: 395, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 395 (delta 125), reused 114 (delta 111), pack-reused 223
Receiving objects: 100% (395/395), 12.57 MiB | 10.58 MiB/s, done.
Resolving deltas: 100% (168/168), done.
Cloning into 'repositories/BLIP'...
remote: Enumerating objects: 274, done.
remote: Counting objects: 100% (157/157), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 274 (delta 132), reused 118 (delta 118), pack-reused 117
Receiving objects: 100% (274/274), 7.04 MiB | 8.07 MiB/s, done.
Resolving deltas: 100% (151/151), done.
Cloning into 'repositories/k-diffusion'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (312/312), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 774 (delta 247), reused 265 (delta 215), pack-reused 462
Receiving objects: 100% (774/774), 155.91 KiB | 2.69 MiB/s, done.
Resolving deltas: 100% (519/519), done.
All files are in place. Continuing installation.
Collecting basicsr
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting diffusers
Using cached diffusers-0.7.2-py3-none-any.whl (304 kB)
Collecting fairscale==0.4.4
Using cached fairscale-0.4.4.tar.gz (235 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting fonts
Using cached fonts-0.0.3-py3-none-any.whl (4.2 kB)
Collecting font-roboto
Using cached font_roboto-0.0.1-py3-none-any.whl
Collecting gfpgan
Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB)
Collecting gradio==3.9
Using cached gradio-3.9-py3-none-any.whl (11.6 MB)
Collecting invisible-watermark
Using cached invisible_watermark-0.1.5-py3-none-any.whl (1.6 MB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Collecting omegaconf
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting piexif
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting Pillow
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting pytorch_lightning==1.7.7
Using cached pytorch_lightning-1.7.7-py3-none-any.whl (708 kB)
Collecting realesrgan
Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB)
Collecting scikit-image>=0.19
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Collecting timm==0.4.12
Using cached timm-0.4.12-py3-none-any.whl (376 kB)
Collecting transformers==4.19.2
Using cached transformers-4.19.2-py3-none-any.whl (4.2 MB)
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Collecting einops
Using cached einops-0.5.0-py3-none-any.whl (36 kB)
Collecting jsonmerge
Using cached jsonmerge-1.9.0-py3-none-any.whl
Collecting clean-fid
Using cached clean_fid-0.1.34-py3-none-any.whl (26 kB)
Collecting resize-right
Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting torchdiffeq
Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting kornia
Using cached kornia-0.6.8-py2.py3-none-any.whl (551 kB)
Collecting lark
Using cached lark-1.1.4-py3-none-any.whl (107 kB)
Collecting inflection
Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting GitPython
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Collecting websockets
Using cached websockets-10.4-cp310-cp310-macosx_11_0_arm64.whl (97 kB)
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting pydantic
Using cached pydantic-1.10.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting h11<0.13,>=0.11
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Collecting httpx
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Collecting pycryptodome
Using cached pycryptodome-3.15.0-cp35-abi3-macosx_11_0_arm64.whl
Collecting paramiko
Using cached paramiko-2.12.0-py2.py3-none-any.whl (213 kB)
Collecting orjson
Using cached orjson-3.8.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (490 kB)
Collecting aiohttp
Using cached aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
Collecting python-multipart
Using cached python_multipart-0.0.5-py3-none-any.whl
Collecting fsspec
Using cached fsspec-2022.10.0-py3-none-any.whl (138 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting uvicorn
Using cached uvicorn-0.19.0-py3-none-any.whl (56 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting pandas
Using cached pandas-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Collecting typing-extensions>=4.0.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting packaging>=17.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting torchmetrics>=0.7.0
Using cached torchmetrics-0.10.2-py3-none-any.whl (529 kB)
Collecting pyDeprecate>=0.3.1
Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting tqdm>=4.57.0
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting regex!=2019.12.17
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1.tar.gz (220 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting huggingface-hub<1.0,>=0.1.0
Using cached huggingface_hub-0.10.1-py3-none-any.whl (163 kB)
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221107-py3-none-any.whl (6.0 MB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting importlib-metadata
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting onnxruntime
Using cached onnxruntime-1.13.1-cp310-cp310-macosx_11_0_arm64.whl (5.4 MB)
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-install-egx78reg/onnx_c4f8726916c84a73957870c2295fd965/setup.py", line 81, in <module>
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Cloning https://github.com/openai/CLIP.git (to revision d50d76daa670286dd6cacf3bcd80b5e4823fc8e1) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-mhmob2kz
Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-mhmob2kz
Running command git rev-parse -q --verify 'sha^d50d76daa670286dd6cacf3bcd80b5e4823fc8e1'
Running command git fetch -q https://github.com/openai/CLIP.git d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Resolved https://github.com/openai/CLIP.git to commit d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Preparing metadata (setup.py) ... done
Collecting ftfy
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting regex
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting tqdm
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting wcwidth>=0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting typing-extensions
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Collecting pillow!=8.3.*,>=5.3.0
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2022.9.24)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Building wheels for collected packages: clip
Building wheel for clip (setup.py) ... done
Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369370 sha256=e7f06cba3a082d68612a026ac4349cc265022e0ee1b36c14d2d4816b9839b9ac
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/56/93/51/4bad85c7f917afc40abc2efdf783bfc4944cbb3f535c54da76
Successfully built clip
Installing collected packages: wcwidth, urllib3, typing-extensions, tqdm, regex, pillow, numpy, idna, ftfy, charset-normalizer, torch, requests, torchvision, clip
Successfully installed charset-normalizer-2.1.1 clip-1.0 ftfy-6.1.1 idna-3.4 numpy-1.23.4 pillow-9.3.0 regex-2022.10.31 requests-2.28.1 torch-1.13.0 torchvision-0.14.0 tqdm-4.64.1 typing-extensions-4.4.0 urllib3-1.26.12 wcwidth-0.2.5
Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-9encwxak
Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-9encwxak
Running command git rev-parse -q --verify 'sha^8d2447a2d918f8eba5a4a01463fd48e45126a379'
Running command git fetch -q https://github.com/TencentARC/GFPGAN.git 8d2447a2d918f8eba5a4a01463fd48e45126a379
Running command git checkout -q 8d2447a2d918f8eba5a4a01463fd48e45126a379
Resolved https://github.com/TencentARC/GFPGAN.git to commit 8d2447a2d918f8eba5a4a01463fd48e45126a379
Preparing metadata (setup.py) ... done
Collecting basicsr>=1.4.2
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Requirement already satisfied: numpy in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.23.4)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221107-py3-none-any.whl (6.0 MB)
Requirement already satisfied: torch>=1.7 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.13.0)
Requirement already satisfied: torchvision in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.14.0)
Requirement already satisfied: tqdm in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.64.1)
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Requirement already satisfied: requests in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.28.1)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting scikit-image
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Requirement already satisfied: Pillow in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (9.3.0)
Collecting filterpy
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting numba
Using cached numba-0.56.4-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (4.4.0)
Collecting absl-py>=0.4
Using cached absl_py-1.3.0-py3-none-any.whl (124 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting grpcio>=1.24.3
Using cached grpcio-1.50.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Requirement already satisfied: wheel>=0.26 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.37.1)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.14.0-py2.py3-none-any.whl (175 kB)
Requirement already satisfied: setuptools>=41.0.0 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (65.5.0)
Collecting protobuf<4,>=3.9.2
Using cached protobuf-3.20.3-py2.py3-none-any.whl (162 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting six>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cachetools<6.0,>=2.0.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (1.26.12)
Requirement already satisfied: charset-normalizer<3,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (3.4)
Collecting MarkupSafe>=2.1.1
Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl (17 kB)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting llvmlite<0.40,>=0.39.0dev0
Using cached llvmlite-0.39.1-cp310-cp310-macosx_11_0_arm64.whl (23.1 MB)
Collecting imageio>=2.4.1
Using cached imageio-2.22.4-py3-none-any.whl (3.4 MB)
Collecting networkx>=2.2
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB)
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.10.10-py3-none-any.whl (210 kB)
Collecting packaging>=20.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.6-cp310-cp310-macosx_11_0_arm64.whl (225 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp310-cp310-macosx_11_0_arm64.whl (63 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting python-dateutil>=2.7
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Building wheels for collected packages: gfpgan
Building wheel for gfpgan (setup.py) ... done
Created wheel for gfpgan: filename=gfpgan-1.3.5-py3-none-any.whl size=47757 sha256=3e194072777291f05c3103155f9af1d2902abde5ba8155298ce49a91a26d61da
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/a7/79/e9/6dd2a17214c1e33aaee58997f824dfa01f2d8c45d1b5a6baae
Successfully built gfpgan
Installing collected packages: yapf, tensorboard-plugin-wit, pyasn1, lmdb, addict, tifffile, tensorboard-data-server, six, scipy, rsa, pyyaml, PyWavelets, pyparsing, pyasn1-modules, protobuf, opencv-python, oauthlib, networkx, MarkupSafe, markdown, llvmlite, kiwisolver, imageio, future, fonttools, cycler, contourpy, cachetools, absl-py, werkzeug, requests-oauthlib, python-dateutil, packaging, numba, grpcio, google-auth, scikit-image, matplotlib, google-auth-oauthlib, tb-nightly, filterpy, facexlib, basicsr, gfpgan
Successfully installed MarkupSafe-2.1.1 PyWavelets-1.4.1 absl-py-1.3.0 addict-2.4.0 basicsr-1.4.2 cachetools-5.2.0 contourpy-1.0.6 cycler-0.11.0 facexlib-0.2.5 filterpy-1.4.5 fonttools-4.38.0 future-0.18.2 gfpgan-1.3.5 google-auth-2.14.0 google-auth-oauthlib-0.4.6 grpcio-1.50.0 imageio-2.22.4 kiwisolver-1.4.4 llvmlite-0.39.1 lmdb-1.3.0 markdown-3.4.1 matplotlib-3.6.2 networkx-2.8.8 numba-0.56.4 oauthlib-3.2.2 opencv-python-4.6.0.66 packaging-21.3 protobuf-3.20.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 pyparsing-3.0.9 python-dateutil-2.8.2 pyyaml-6.0 requests-oauthlib-1.3.1 rsa-4.9 scikit-image-0.19.3 scipy-1.9.3 six-1.16.0 tb-nightly-2.11.0a20221107 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tifffile-2022.10.10 werkzeug-2.2.2 yapf-0.32.0
Collecting torch==1.12.1
Using cached torch-1.12.1-cp310-none-macosx_11_0_arm64.whl (49.1 MB)
Collecting torchvision==0.13.1
Using cached torchvision-0.13.1-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB)
Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
Requirement already satisfied: requests in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (2.28.1)
Requirement already satisfied: numpy in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (9.3.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (3.4)
Requirement already satisfied: charset-normalizer<3,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (1.26.12)
Installing collected packages: torch, torchvision
Attempting uninstall: torch
Found existing installation: torch 1.13.0
Uninstalling torch-1.13.0:
Successfully uninstalled torch-1.13.0
Attempting uninstall: torchvision
Found existing installation: torchvision 0.14.0
Uninstalling torchvision-0.14.0:
Successfully uninstalled torchvision-0.14.0
Successfully installed torch-1.12.1 torchvision-0.13.1
patching file functional.py
Collecting gdown
Using cached gdown-4.5.3-py3-none-any.whl
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting psutil
Using cached psutil-5.9.3-cp310-cp310-macosx_11_0_arm64.whl (243 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Requirement already satisfied: six in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gdown) (1.16.0)
Requirement already satisfied: tqdm in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gdown) (4.64.1)
Requirement already satisfied: requests[socks] in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from gdown) (2.28.1)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting starlette==0.20.4
Using cached starlette-0.20.4-py3-none-any.whl (63 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.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Requirement already satisfied: typing-extensions>=4.1.0 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Collecting soupsieve>1.2
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (1.26.12)
Requirement already satisfied: charset-normalizer<3,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2.1.1)
Collecting PySocks!=1.5.7,>=1.5.6
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting sniffio>=1.1
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Installing collected packages: soupsieve, sniffio, PySocks, pydantic, psutil, filelock, beautifulsoup4, anyio, starlette, gdown, fastapi
Successfully installed PySocks-1.7.1 anyio-3.6.2 beautifulsoup4-4.11.1 fastapi-0.86.0 filelock-3.8.0 gdown-4.5.3 psutil-5.9.3 pydantic-1.10.2 sniffio-1.3.0 soupsieve-2.3.2.post1 starlette-0.20.4
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable {'PYTORCH_ENABLE_MPS_FALLBACK'}
=============================================
=============================================
==============MORE INFORMATION===============
=============================================
=============================================
If you want to run the web UI again, you can run the following command:
./stable-diffusion-webui/run_webui_mac.sh
or
cd stable-diffusion-webui && ./run_webui_mac.sh
=============================================
=============================================
=============================================
=============================================
Traceback (most recent call last):
File "/Users/bamboozle/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/bamboozle/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/bamboozle/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/config.py", line 6, in <module>
from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'
(base) ➜ ~
New try with "pip install cmake" as well as "conda install cmake" also didnt work - maybe ill "bite the sour apple" and reinstall ventura just to check if it happens on a virgin installation as well...
edit: maybe its a problem with my brew miniconda installation.... i have a gut feeling
Haven't looked through your latest logs in detail, but I'm pretty sure cmake
isn't installed with pip
or conda
; they're for installing python things.
Pretty sure it's installed with brew
.
I'm 99% sure that the 'how to install on macOS' wiki page linked from this repos README describes this in more detail in the 'manual install steps'. Probably worth looking there again too.
Edit: Here
First, you need to install the required dependencies using Homebrew.
brew install cmake protobuf rust python git wget
It was the conda brew installation. It is working now again - Ventura, M1, most current version of the script
How did I fix it:
conda install anaconda-clean
and then anaconda-clean --yes
// more details hereFull log below:
Last login: Mon Nov 7 13:54:28 on ttys000
sudo xcodebuild -license
(base) ➜ ~ sudo xcodebuild -license
Password:
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
Press the 'return' key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/en.lproj/License.rtf'
Xcode and Apple SDKs Agreement
PLEASE SCROLL DOWN AND READ ALL OF THE FOLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE USING THE APPLE SOFTWARE OR APPLE SERVICES. THIS IS A LEGAL AGREEMENT BETWEEN YOU AND APPLE. IF YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS, CLICK THE “AGREE” BUTTON. BY CLICKING “AGREE” OR BY DOWNLOADING, USING OR COPYING ANY PART OF THIS APPLE SOFTWARE OR USING ANY PART OF THE APPLE SERVICES, YOU ARE AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO THE TERMS AND CONDITIONS STATED BELOW. IF YOU DO NOT OR CANNOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU CANNOT USE THIS APPLE SOFTWARE OR THE APPLE SERVICES. DO NOT DOWNLOAD OR USE THIS APPLE SOFTWARE OR APPLE SERVICES IN THAT CASE.
1. Definitions
Whenever capitalized in this Agreement:
“Agreement” means this Xcode and Apple SDKs Agreement.
“Apple” means Apple Inc., a California corporation with its principal place of business at One Infinite Loop, Cupertino, California 95014, U.S.A.
“Apple Developer Program License Agreement” means a separate agreement that may be entered into between You and Apple regarding the development and submission of Applications to the App Store for approval and digital signing by Apple, devel ESCOC
OLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE USING THE APPLE SOFTWARE OR APPL>
DKs Agreement.
orporation with its principal place of business at One Infinite Loop, Cupertino>
nt” means a separate agreement that may be entered into between You and Apple r>
latform and Map Data provided by Apple via the MapKit API and/or the Apple Maps>
developer services that Apple provides to You under this Agreement solely for >
er Tools and the Apple SDKs, including any Updates thereto (if any) that may be>
e Apple-proprietary Software Development Kits (SDKs) provided hereunder, includ>
including extensions and media that are enclosed in a single software bundle) d>
ESCOC
BEFORE USING THE APPLE SOFTWARE OR APPLE SERVICES. THIS IS A LEGAL AGREEMENT BE>
usiness at One Infinite Loop, Cupertino, California 95014, U.S.A.
be entered into between You and Apple regarding the development and submission >
ia the MapKit API and/or the Apple Maps Server API (which are the documented AP>
to You under this Agreement solely for use with Your Applications and not for u>
ny Updates thereto (if any) that may be provided to You by Apple.
Kits (SDKs) provided hereunder, including but not limited to header files, API>
enclosed in a single software bundle) developed by You hereunder, for use under>
ESCOC
SERVICES. THIS IS A LEGAL AGREEMENT BETWEEN YOU AND APPLE. IF YOU AGREE TO BE >
California 95014, U.S.A.
garding the development and submission of Applications to the App Store for app>
Server API (which are the documented API that enable You to add mapping feature>
se with Your Applications and not for use by You as an end-user (e.g., Game Cen>
provided to You by Apple.
ng but not limited to header files, APIs, libraries, simulators, and software (>
veloped by You hereunder, for use under Your own name, trademark or brand, and >
ESCOC
WEEN YOU AND APPLE. IF YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS>
f Applications to the App Store for approval and digital signing by Apple, deve>
that enable You to add mapping features or functionality to Applications).
e by You as an end-user (e.g., Game Center, Apple Maps Service, any Apple-certi>
, libraries, simulators, and software (source code and object code) labeled as >
Your own name, trademark or brand, and specifically for use on Apple-branded pr>
ESCOC
OUND BY ALL OF THE TERMS AND CONDITIONS, CLICK THE “AGREE” BUTTON. BY CLICKING >
oval and digital signing by Apple, development of libraries for iOS, watchOS, i>
or functionality to Applications).
er, Apple Maps Service, any Apple-certificate issuance services, etc.), includi>
ource code and object code) labeled as part of the iOS SDK, watchOS SDK, iPadOS>
pecifically for use on Apple-branded products running macOS, iOS, watchOS, iPad>
ESCOC
CLICK THE “AGREE” BUTTON. BY CLICKING “AGREE” OR BY DOWNLOADING, USING OR COPY>
opment of libraries for iOS, watchOS, iPadOS, and/or tvOS, and the use of Apple>
icate issuance services, etc.), including any Updates thereto (if any) that may>
art of the iOS SDK, watchOS SDK, iPadOS SDK, and/or tvOS SDK and included in th>
ducts running macOS, iOS, watchOS, iPadOS, tvOS, as applicable, including new r>
ESCOC
AGREE” OR BY DOWNLOADING, USING OR COPYING ANY PART OF THIS APPLE SOFTWARE OR U>
adOS, and/or tvOS, and the use of Apple services such as the Apple Push Notific>
g any Updates thereto (if any) that may be provided to You by Apple.
SDK, and/or tvOS SDK and included in the Xcode Developer Tools package for purp>
S, tvOS, as applicable, including new releases and new versions of such softwar>
ESCOC
NG ANY PART OF THIS APPLE SOFTWARE OR USING ANY PART OF THE APPLE SERVICES, YOU>
services such as the Apple Push Notification Service, In-App Purchase, and iClo>
be provided to You by Apple.
Xcode Developer Tools package for purposes of targeting Apple-branded products>
leases and new versions of such software program, but excluding libraries for i>
ESCOC
ING ANY PART OF THE APPLE SERVICES, YOU ARE AGREEING ON YOUR OWN BEHALF AND/OR >
tion Service, In-App Purchase, and iCloud, among other things.
ses of targeting Apple-branded products running iOS, watchOS, iPadOS, or tvOS.
program, but excluding libraries for iOS, watchOS, iPadOS, or tvOS application>
mation, have written and binding agreements with You that prohibit the unauthor>
permitted hereunder.
luding without limitation software distributed under the GNU General Public Lic>
zation, educational institution or agency, instrumentality, or department of th>
ization to the terms and obligations of this Agreement. Further, You agree to c>
rganization should have access to and use of Your Applications and such Authori>
ing them into the Apple Software or Services will be current, true, accurate, s>
tation. Information regarding the Program Requirements is available at: http://>
the Apple Software or Services in any way in such copy, e.g., You are expressly>
uters at the same time, unless otherwise expressly permitted in writing by Appl>
which case the terms of that license will govern. If You choose to allow automa>
rovided by Apple for such access and only for use on Apple-branded products. Ex>
y intellectual property rights of a third party or Apple, or that violates any >
data from Your Applications or through the applicable end-user accounts. You ag>
ance with any applicable laws.
e foregoing. Apple may also impose limits and restrictions on the use of or acc>
ernate backup of all Your content, information, and data. You understand and ag>
ces or information provided by Xcode Server or uses the Xcode Server feature in>
sociations that are registered to QuickTime.
ong to Apple or the respective content owner, and such Digital Materials may be>
pdate is available, You will be prompted to download the updated or new Digital>
B above. You may display and distribute User Content that was created using the>
ftware. Without prejudice to Section 2.14C below, You agree not to use the Comp>
shall not use or incorporate the System-Provided Images or any substantially or>
ice is solely for use by Applications running on Apple-branded products. Your A>
secondary or derived database;
s Service with Your Application after which, in all cases, You must delete any >
ation, and You acknowledge and agree that such use will constitute Your accepta>
cise location information is needed or where erroneous, delayed, non-existent, >
r Applications that use location-based APIs for real-time navigation (including>
health and/or fitness information to any third party and may only use such API>
ee not to use the HomeKit APIs for any purpose other than interfacing, communic>
ection and location service laws and regulations) in any jurisdictions in which>
third party copyrights, trademarks, rights of privacy and publicity, trade sec>
ervices, or networks. If Your Application includes any FOSS, You agree to compl>
loss of data and may be incomplete. You should back up Your data prior to usin>
thstanding the foregoing, Apple Confidential Information will not include: (i) >
reement and agree not to use Apple Confidential Information for any other purpo>
sses”) incurred by an Apple Indemnified Party as a result of Your breach of thi>
cial release of such Apple Software.
ou agree to provide written certification of such destruction to Apple.
devices have been entered into the Apple Software, and/or that the Services are>
ort as a result of terminating this Agreement in accordance with its terms, and>
E SOFTWARE AND APPLE SERVICES, EITHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING >
HE APPLE SOFTWARE AND APPLE SERVICES WILL BE COMPATIBLE WITH FUTURE APPLE PRODU>
DAMAGE, INCLUDING WITHOUT LIMITATION THE OPERATION OF NUCLEAR FACILITIES, AIRCR>
TUTORY RIGHTS OF A CONSUMER, SO THE ABOVE EXCLUSION AND LIMITATIONS MAY NOT APP>
THER COMMERCIAL DAMAGES OR LOSSES, ARISING OUT OF OR RELATED TO THIS AGREEMENT,>
tain software libraries and other third party software included with the Apple >
ation about Your computer, system and application software, and peripherals, th>
tion about Your computer, system and application software, and peripherals, tha>
personally identify You, for the purposes described above. To enable Apple’s p>
are identifier for Your computer, and device identifiers entered by You into th>
You from fully and specifically complying with the Sections of this Agreement e>
not be exported or re-exported (a) into any U.S. embargoed countries or (b) to >
1 through 227.7202-4, as applicable, the Commercial Computer Software and Comme>
ny such litigation or dispute resolution. This Agreement will be governed by an>
standing anything to the contrary in this Agreement (including but not limited >
or other dispute resolution between You and Apple arising out of or relating to>
tration administered by the International Centre for Dispute Resolution in acco>
d are validly licensed by Apple to exercise additional rights, or to use additi>
By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree
You can view the license agreements in Xcode's About Box, or at /Applications/Xcode.app/Contents/Resources/en.lproj/License.rtf
(base) ➜ ~ /Users/bamboozle/setup_mac.sh
conda is installed.
no change /Users/bamboozle/opt/miniconda3/condabin/conda
no change /Users/bamboozle/opt/miniconda3/bin/conda
no change /Users/bamboozle/opt/miniconda3/bin/conda-env
no change /Users/bamboozle/opt/miniconda3/bin/activate
no change /Users/bamboozle/opt/miniconda3/bin/deactivate
no change /Users/bamboozle/opt/miniconda3/etc/profile.d/conda.sh
no change /Users/bamboozle/opt/miniconda3/etc/fish/conf.d/conda.fish
no change /Users/bamboozle/opt/miniconda3/shell/condabin/Conda.psm1
no change /Users/bamboozle/opt/miniconda3/shell/condabin/conda-hook.ps1
no change /Users/bamboozle/opt/miniconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change /Users/bamboozle/opt/miniconda3/etc/profile.d/conda.csh
no change /Users/bamboozle/.bash_profile
No action taken.
Remove all packages in environment /Users/bamboozle/opt/miniconda3/envs/web-ui:
## Package Plan ##
environment location: /Users/bamboozle/opt/miniconda3/envs/web-ui
The following packages will be REMOVED:
bzip2-1.0.8-h620ffc9_4
ca-certificates-2022.10.11-hca03da5_0
certifi-2022.9.24-py310hca03da5_0
libcxx-14.0.6-h848a8c0_0
libffi-3.4.2-hc377ac9_4
ncurses-6.3-h1a28f6b_3
openssl-1.1.1s-h1a28f6b_0
pip-22.2.2-py310hca03da5_0
python-3.10.6-hbdb9e5c_1
readline-8.2-h1a28f6b_0
setuptools-65.5.0-py310hca03da5_0
sqlite-3.39.3-h1058600_0
tk-8.6.12-hb8d0fd4_0
tzdata-2022f-h04d1e81_0
wheel-0.37.1-pyhd3eb1b0_0
xz-5.2.6-h1a28f6b_0
zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.9.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /Users/bamboozle/opt/miniconda3/envs/web-ui
added / updated specs:
- python=3.10
The following NEW packages will be INSTALLED:
bzip2 pkgs/main/osx-arm64::bzip2-1.0.8-h620ffc9_4
ca-certificates pkgs/main/osx-arm64::ca-certificates-2022.10.11-hca03da5_0
certifi pkgs/main/osx-arm64::certifi-2022.9.24-py310hca03da5_0
libcxx pkgs/main/osx-arm64::libcxx-14.0.6-h848a8c0_0
libffi pkgs/main/osx-arm64::libffi-3.4.2-hc377ac9_4
ncurses pkgs/main/osx-arm64::ncurses-6.3-h1a28f6b_3
openssl pkgs/main/osx-arm64::openssl-1.1.1s-h1a28f6b_0
pip pkgs/main/osx-arm64::pip-22.2.2-py310hca03da5_0
python pkgs/main/osx-arm64::python-3.10.6-hbdb9e5c_1
readline pkgs/main/osx-arm64::readline-8.2-h1a28f6b_0
setuptools pkgs/main/osx-arm64::setuptools-65.5.0-py310hca03da5_0
sqlite pkgs/main/osx-arm64::sqlite-3.39.3-h1058600_0
tk pkgs/main/osx-arm64::tk-8.6.12-hb8d0fd4_0
tzdata pkgs/main/noarch::tzdata-2022f-h04d1e81_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-arm64::xz-5.2.6-h1a28f6b_0
zlib pkgs/main/osx-arm64::zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate web-ui
#
# To deactivate an active environment, use
#
# $ conda deactivate
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 10610, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 10610 (delta 16), reused 31 (delta 10), pack-reused 10562
Receiving objects: 100% (10610/10610), 23.59 MiB | 9.83 MiB/s, done.
Resolving deltas: 100% (7392/7392), done.
=============================================
=============================================
===========STABLE DIFFUSION MODEL============
=============================================
=============================================
If you've already downloaded the model, you now have time to copy it yourself to stable-diffusion-webui/models/Stable-diffusion/
If you haven't downloaded the model yet, you can enter n to downloaded the model from hugging face.
Have you already installed the model? (y/n) y
Skipping model installation
Cloning into 'repositories/stable-diffusion'...
remote: Enumerating objects: 313, done.
remote: Total 313 (delta 0), reused 0 (delta 0), pack-reused 313
Receiving objects: 100% (313/313), 42.63 MiB | 10.12 MiB/s, done.
Resolving deltas: 100% (103/103), done.
Cloning into 'repositories/taming-transformers'...
remote: Enumerating objects: 1335, done.
remote: Total 1335 (delta 0), reused 0 (delta 0), pack-reused 1335
Receiving objects: 100% (1335/1335), 409.77 MiB | 9.82 MiB/s, done.
Resolving deltas: 100% (279/279), done.
Cloning into 'repositories/CodeFormer'...
remote: Enumerating objects: 395, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 395 (delta 125), reused 113 (delta 110), pack-reused 223
Receiving objects: 100% (395/395), 12.57 MiB | 9.64 MiB/s, done.
Resolving deltas: 100% (168/168), done.
Cloning into 'repositories/BLIP'...
remote: Enumerating objects: 274, done.
remote: Counting objects: 100% (157/157), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 274 (delta 132), reused 118 (delta 118), pack-reused 117
Receiving objects: 100% (274/274), 7.04 MiB | 7.25 MiB/s, done.
Resolving deltas: 100% (151/151), done.
Cloning into 'repositories/k-diffusion'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (312/312), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 774 (delta 246), reused 265 (delta 215), pack-reused 462
Receiving objects: 100% (774/774), 159.22 KiB | 1.53 MiB/s, done.
Resolving deltas: 100% (518/518), done.
All files are in place. Continuing installation.
Collecting basicsr
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting diffusers
Using cached diffusers-0.7.2-py3-none-any.whl (304 kB)
Collecting fairscale==0.4.4
Using cached fairscale-0.4.4-py3-none-any.whl
Collecting fonts
Using cached fonts-0.0.3-py3-none-any.whl (4.2 kB)
Collecting font-roboto
Using cached font_roboto-0.0.1-py3-none-any.whl
Collecting gfpgan
Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB)
Collecting gradio==3.9
Using cached gradio-3.9-py3-none-any.whl (11.6 MB)
Collecting invisible-watermark
Using cached invisible_watermark-0.1.5-py3-none-any.whl (1.6 MB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Collecting omegaconf
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting piexif
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting Pillow
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting pytorch_lightning==1.7.7
Using cached pytorch_lightning-1.7.7-py3-none-any.whl (708 kB)
Collecting realesrgan
Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB)
Collecting scikit-image>=0.19
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Collecting timm==0.4.12
Using cached timm-0.4.12-py3-none-any.whl (376 kB)
Collecting transformers==4.19.2
Using cached transformers-4.19.2-py3-none-any.whl (4.2 MB)
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Collecting einops
Using cached einops-0.5.0-py3-none-any.whl (36 kB)
Collecting jsonmerge
Using cached jsonmerge-1.9.0-py3-none-any.whl
Collecting clean-fid
Using cached clean_fid-0.1.34-py3-none-any.whl (26 kB)
Collecting resize-right
Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting torchdiffeq
Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting kornia
Using cached kornia-0.6.8-py2.py3-none-any.whl (551 kB)
Collecting lark
Using cached lark-1.1.4-py3-none-any.whl (107 kB)
Collecting inflection
Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting GitPython
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Collecting uvicorn
Using cached uvicorn-0.19.0-py3-none-any.whl (56 kB)
Collecting websockets
Using cached websockets-10.4-cp310-cp310-macosx_11_0_arm64.whl (97 kB)
Collecting h11<0.13,>=0.11
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting pydantic
Using cached pydantic-1.10.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting httpx
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Collecting fsspec
Using cached fsspec-2022.10.0-py3-none-any.whl (138 kB)
Collecting pandas
Using cached pandas-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Collecting paramiko
Using cached paramiko-2.12.0-py2.py3-none-any.whl (213 kB)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting aiohttp
Using cached aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
Collecting orjson
Using cached orjson-3.8.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (490 kB)
Collecting python-multipart
Using cached python_multipart-0.0.5-py3-none-any.whl
Collecting pycryptodome
Using cached pycryptodome-3.15.0-cp35-abi3-macosx_11_0_arm64.whl
Collecting pyDeprecate>=0.3.1
Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting packaging>=17.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting typing-extensions>=4.0.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting tqdm>=4.57.0
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torchmetrics>=0.7.0
Using cached torchmetrics-0.10.2-py3-none-any.whl (529 kB)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting regex!=2019.12.17
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting huggingface-hub<1.0,>=0.1.0
Using cached huggingface_hub-0.10.1-py3-none-any.whl (163 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1.tar.gz (220 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221107-py3-none-any.whl (6.0 MB)
Collecting importlib-metadata
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting onnxruntime
Using cached onnxruntime-1.13.1-cp310-cp310-macosx_11_0_arm64.whl (5.4 MB)
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... done
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB)
Collecting antlr4-python3-runtime==4.9.*
Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2022.9.24)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting imageio>=2.4.1
Using cached imageio-2.22.4-py3-none-any.whl (3.4 MB)
Collecting networkx>=2.2
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.10.10-py3-none-any.whl (210 kB)
Collecting jsonschema>2.4.0
Using cached jsonschema-4.17.0-py3-none-any.whl (83 kB)
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting idna<4,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting filterpy
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting numba
Using cached numba-0.56.4-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1-cp310-cp310-macosx_11_0_arm64.whl (57 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (34 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.2-cp310-cp310-macosx_10_9_universal2.whl (82 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Requirement already satisfied: wheel>=0.26 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.37.1)
Collecting grpcio>=1.24.3
Using cached grpcio-1.50.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.14.0-py2.py3-none-any.whl (175 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (65.5.0)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting absl-py>=0.4
Using cached absl_py-1.3.0-py3-none-any.whl (124 kB)
Collecting protobuf<3.20,>=3.9.2
Using cached protobuf-3.19.6-py2.py3-none-any.whl (162 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting starlette==0.20.4
Using cached starlette-0.20.4-py3-none-any.whl (63 kB)
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting httpcore<0.16.0,>=0.15.0
Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Collecting sniffio
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting zipp>=0.5
Using cached zipp-3.10.0-py3-none-any.whl (6.2 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl (17 kB)
Collecting mdurl~=0.1
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting mdit-py-plugins
Using cached mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)
Collecting linkify-it-py~=1.0
Using cached linkify_it_py-1.0.3-py3-none-any.whl (19 kB)
Collecting python-dateutil>=2.7
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp310-cp310-macosx_11_0_arm64.whl (63 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.6-cp310-cp310-macosx_11_0_arm64.whl (225 kB)
Collecting coloredlogs
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Collecting sympy
Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
Collecting flatbuffers
Using cached flatbuffers-22.10.26-py2.py3-none-any.whl (26 kB)
Collecting pytz>=2020.1
Using cached pytz-2022.6-py2.py3-none-any.whl (498 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting bcrypt>=3.1.3
Using cached bcrypt-4.0.1-cp36-abi3-macosx_10_10_universal2.whl (473 kB)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.5.0-cp36-abi3-macosx_10_10_universal2.whl (349 kB)
Collecting cryptography>=2.5
Using cached cryptography-38.0.3-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB)
Collecting click>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl (174 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting cachetools<6.0,>=2.0.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting uc-micro-py
Using cached uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB)
Collecting humanfriendly>=9.1
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting llvmlite<0.40,>=0.39.0dev0
Using cached llvmlite-0.39.1-cp310-cp310-macosx_11_0_arm64.whl (23.1 MB)
Collecting mpmath>=0.19
Using cached mpmath-1.2.1-py3-none-any.whl (532 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Building wheels for collected packages: tokenizers, onnx
Building wheel for tokenizers (pyproject.toml) ... done
Created wheel for tokenizers: filename=tokenizers-0.12.1-cp310-cp310-macosx_13_0_arm64.whl size=3530518 sha256=9c993e808d35790aeb237160b6699e79d689f4d14f8da927e96e7c209254e69c
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/bd/22/bc/fa8337ce1ccf384c8fc4c1dbfa9cb1687934c0f24719082d49
Building wheel for onnx (setup.py) ... done
Created wheel for onnx: filename=onnx-1.12.0-cp310-cp310-macosx_13_0_arm64.whl size=11773732 sha256=9f5990a8b637e52124ca7097b257a49239c85f933f1a01227dac8c0a0e2898fe
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/1e/c5/c6/3cfc10f9079e53394684a3f1b51256f86ccaf419e2234a3a8c
Successfully built tokenizers onnx
Installing collected packages: yapf, tokenizers, tensorboard-plugin-wit, rfc3986, resize-right, pytz, pydub, pyasn1, mpmath, lmdb, lark, fonts, font-roboto, flatbuffers, ffmpy, antlr4-python3-runtime, addict, zipp, websockets, urllib3, uc-micro-py, typing-extensions, tqdm, tensorboard-data-server, sympy, sniffio, smmap, six, rsa, regex, pyyaml, pyrsistent, pyparsing, pyDeprecate, pycryptodome, pycparser, pyasn1-modules, protobuf, Pillow, piexif, orjson, oauthlib, numpy, networkx, multidict, mdurl, MarkupSafe, markdown, llvmlite, kiwisolver, inflection, idna, humanfriendly, h11, future, fsspec, frozenlist, fonttools, filelock, einops, cycler, click, charset-normalizer, chardet, cachetools, bcrypt, attrs, async-timeout, absl-py, yarl, werkzeug, uvicorn, torch, tifffile, scipy, requests, PyWavelets, python-multipart, python-dateutil, pydantic, packaging, opencv-python, onnx, omegaconf, numba, markdown-it-py, linkify-it-py, jsonschema, jinja2, importlib-metadata, imageio, grpcio, google-auth, gitdb, contourpy, coloredlogs, cffi, anyio, aiosignal, torchvision, torchmetrics, torchdiffeq, starlette, scikit-image, requests-oauthlib, pynacl, pandas, onnxruntime, mdit-py-plugins, matplotlib, kornia, jsonmerge, huggingface-hub, httpcore, GitPython, fairscale, cryptography, aiohttp, transformers, timm, paramiko, invisible-watermark, httpx, google-auth-oauthlib, filterpy, fastapi, diffusers, clean-fid, tensorboard, tb-nightly, gradio, facexlib, pytorch_lightning, basicsr, gfpgan, realesrgan
Successfully installed GitPython-3.1.29 MarkupSafe-2.1.1 Pillow-9.3.0 PyWavelets-1.4.1 absl-py-1.3.0 addict-2.4.0 aiohttp-3.8.3 aiosignal-1.2.0 antlr4-python3-runtime-4.9.3 anyio-3.6.2 async-timeout-4.0.2 attrs-22.1.0 basicsr-1.4.2 bcrypt-4.0.1 cachetools-5.2.0 cffi-1.15.1 chardet-4.0.0 charset-normalizer-2.1.1 clean-fid-0.1.34 click-8.1.3 coloredlogs-15.0.1 contourpy-1.0.6 cryptography-38.0.3 cycler-0.11.0 diffusers-0.7.2 einops-0.5.0 facexlib-0.2.5 fairscale-0.4.4 fastapi-0.86.0 ffmpy-0.3.0 filelock-3.8.0 filterpy-1.4.5 flatbuffers-22.10.26 font-roboto-0.0.1 fonts-0.0.3 fonttools-4.38.0 frozenlist-1.3.1 fsspec-2022.10.0 future-0.18.2 gfpgan-1.3.8 gitdb-4.0.9 google-auth-2.14.0 google-auth-oauthlib-0.4.6 gradio-3.9 grpcio-1.50.0 h11-0.12.0 httpcore-0.15.0 httpx-0.23.0 huggingface-hub-0.10.1 humanfriendly-10.0 idna-2.10 imageio-2.22.4 importlib-metadata-5.0.0 inflection-0.5.1 invisible-watermark-0.1.5 jinja2-3.1.2 jsonmerge-1.9.0 jsonschema-4.17.0 kiwisolver-1.4.4 kornia-0.6.8 lark-1.1.4 linkify-it-py-1.0.3 llvmlite-0.39.1 lmdb-1.3.0 markdown-3.4.1 markdown-it-py-2.1.0 matplotlib-3.6.2 mdit-py-plugins-0.3.1 mdurl-0.1.2 mpmath-1.2.1 multidict-6.0.2 networkx-2.8.8 numba-0.56.4 numpy-1.23.4 oauthlib-3.2.2 omegaconf-2.2.3 onnx-1.12.0 onnxruntime-1.13.1 opencv-python-4.6.0.66 orjson-3.8.1 packaging-21.3 pandas-1.5.1 paramiko-2.12.0 piexif-1.1.3 protobuf-3.19.6 pyDeprecate-0.3.2 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.21 pycryptodome-3.15.0 pydantic-1.10.2 pydub-0.25.1 pynacl-1.5.0 pyparsing-3.0.9 pyrsistent-0.19.2 python-dateutil-2.8.2 python-multipart-0.0.5 pytorch_lightning-1.7.7 pytz-2022.6 pyyaml-6.0 realesrgan-0.3.0 regex-2022.10.31 requests-2.25.1 requests-oauthlib-1.3.1 resize-right-0.0.2 rfc3986-1.5.0 rsa-4.9 scikit-image-0.19.3 scipy-1.9.3 six-1.16.0 smmap-5.0.0 sniffio-1.3.0 starlette-0.20.4 sympy-1.11.1 tb-nightly-2.11.0a20221107 tensorboard-2.10.1 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tifffile-2022.10.10 timm-0.4.12 tokenizers-0.12.1 torch-1.13.0 torchdiffeq-0.2.3 torchmetrics-0.10.2 torchvision-0.14.0 tqdm-4.64.1 transformers-4.19.2 typing-extensions-4.4.0 uc-micro-py-1.0.1 urllib3-1.26.12 uvicorn-0.19.0 websockets-10.4 werkzeug-2.2.2 yapf-0.32.0 yarl-1.8.1 zipp-3.10.0
Collecting git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Cloning https://github.com/openai/CLIP.git (to revision d50d76daa670286dd6cacf3bcd80b5e4823fc8e1) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-on5catm4
Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-on5catm4
Running command git rev-parse -q --verify 'sha^d50d76daa670286dd6cacf3bcd80b5e4823fc8e1'
Running command git fetch -q https://github.com/openai/CLIP.git d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Resolved https://github.com/openai/CLIP.git to commit d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Preparing metadata (setup.py) ... done
Collecting ftfy
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Requirement already satisfied: regex in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clip==1.0) (2022.10.31)
Requirement already satisfied: tqdm in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clip==1.0) (4.64.1)
Requirement already satisfied: torch in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clip==1.0) (1.13.0)
Requirement already satisfied: torchvision in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clip==1.0) (0.14.0)
Collecting wcwidth>=0.2.5
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: typing-extensions in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch->clip==1.0) (4.4.0)
Requirement already satisfied: numpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision->clip==1.0) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision->clip==1.0) (9.3.0)
Requirement already satisfied: requests in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision->clip==1.0) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2022.9.24)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (1.26.12)
Building wheels for collected packages: clip
Building wheel for clip (setup.py) ... done
Created wheel for clip: filename=clip-1.0-py3-none-any.whl size=1369370 sha256=83bab65c15227dd02cbcb211ac444a2c42d217a0ec25708512d2c2a074fc9533
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/56/93/51/4bad85c7f917afc40abc2efdf783bfc4944cbb3f535c54da76
Successfully built clip
Installing collected packages: wcwidth, ftfy, clip
Successfully installed clip-1.0 ftfy-6.1.1 wcwidth-0.2.5
Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-wnojm17z
Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/__/tfsdq2q93k7dzm412zrlpbvh0000gn/T/pip-req-build-wnojm17z
Running command git rev-parse -q --verify 'sha^8d2447a2d918f8eba5a4a01463fd48e45126a379'
Running command git fetch -q https://github.com/TencentARC/GFPGAN.git 8d2447a2d918f8eba5a4a01463fd48e45126a379
Running command git checkout -q 8d2447a2d918f8eba5a4a01463fd48e45126a379
Resolved https://github.com/TencentARC/GFPGAN.git to commit 8d2447a2d918f8eba5a4a01463fd48e45126a379
Preparing metadata (setup.py) ... done
Requirement already satisfied: basicsr>=1.4.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.4.2)
Requirement already satisfied: facexlib>=0.2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.2.5)
Requirement already satisfied: lmdb in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.3.0)
Requirement already satisfied: numpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.23.4)
Requirement already satisfied: opencv-python in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.6.0.66)
Requirement already satisfied: pyyaml in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (6.0)
Requirement already satisfied: scipy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.9.3)
Requirement already satisfied: tb-nightly in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (2.11.0a20221107)
Requirement already satisfied: torch>=1.7 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.13.0)
Requirement already satisfied: torchvision in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.14.0)
Requirement already satisfied: tqdm in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.64.1)
Requirement already satisfied: yapf in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.32.0)
Requirement already satisfied: requests in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.25.1)
Requirement already satisfied: future in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.18.2)
Requirement already satisfied: scikit-image in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.19.3)
Requirement already satisfied: Pillow in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (9.3.0)
Requirement already satisfied: addict in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.4.0)
Requirement already satisfied: numba in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (0.56.4)
Requirement already satisfied: filterpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (1.4.5)
Requirement already satisfied: typing-extensions in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (4.4.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.14.0)
Requirement already satisfied: grpcio>=1.24.3 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.50.0)
Requirement already satisfied: protobuf<4,>=3.9.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (3.19.6)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.4.6)
Requirement already satisfied: markdown>=2.6.8 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (3.4.1)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.8.1)
Requirement already satisfied: werkzeug>=1.0.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.2.2)
Requirement already satisfied: wheel>=0.26 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.37.1)
Requirement already satisfied: setuptools>=41.0.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (65.5.0)
Requirement already satisfied: absl-py>=0.4 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.3.0)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.6.1)
Requirement already satisfied: six>=1.9.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (1.16.0)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (5.2.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (4.9)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.2.8)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tb-nightly->gfpgan==1.3.5) (1.3.1)
Requirement already satisfied: idna<3,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2022.9.24)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (4.0.0)
Requirement already satisfied: MarkupSafe>=2.1.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from werkzeug>=1.0.1->tb-nightly->gfpgan==1.3.5) (2.1.1)
Requirement already satisfied: matplotlib in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (3.6.2)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from numba->facexlib>=0.2.5->gfpgan==1.3.5) (0.39.1)
Requirement already satisfied: imageio>=2.4.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2.22.4)
Requirement already satisfied: networkx>=2.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2.8.8)
Requirement already satisfied: packaging>=20.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (21.3)
Requirement already satisfied: tifffile>=2019.7.26 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2022.10.10)
Requirement already satisfied: PyWavelets>=1.1.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (1.4.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from packaging>=20.0->scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (3.0.9)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tb-nightly->gfpgan==1.3.5) (3.2.2)
Requirement already satisfied: cycler>=0.10 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (1.4.4)
Requirement already satisfied: contourpy>=1.0.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (1.0.6)
Requirement already satisfied: python-dateutil>=2.7 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (2.8.2)
Requirement already satisfied: fonttools>=4.22.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (4.38.0)
Building wheels for collected packages: gfpgan
Building wheel for gfpgan (setup.py) ... done
Created wheel for gfpgan: filename=gfpgan-1.3.5-py3-none-any.whl size=47757 sha256=3106325a306e49379aea563e211961ec5cd7ab55768fa0eff70f41c1edfbbb25
Stored in directory: /Users/bamboozle/Library/Caches/pip/wheels/a7/79/e9/6dd2a17214c1e33aaee58997f824dfa01f2d8c45d1b5a6baae
Successfully built gfpgan
Installing collected packages: gfpgan
Attempting uninstall: gfpgan
Found existing installation: gfpgan 1.3.8
Uninstalling gfpgan-1.3.8:
Successfully uninstalled gfpgan-1.3.8
Successfully installed gfpgan-1.3.5
Collecting torch==1.12.1
Using cached torch-1.12.1-cp310-none-macosx_11_0_arm64.whl (49.1 MB)
Collecting torchvision==0.13.1
Using cached torchvision-0.13.1-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB)
Requirement already satisfied: typing-extensions in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
Requirement already satisfied: numpy in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (9.3.0)
Requirement already satisfied: requests in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision==0.13.1) (2.25.1)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (1.26.12)
Installing collected packages: torch, torchvision
Attempting uninstall: torch
Found existing installation: torch 1.13.0
Uninstalling torch-1.13.0:
Successfully uninstalled torch-1.13.0
Attempting uninstall: torchvision
Found existing installation: torchvision 0.14.0
Uninstalling torchvision-0.14.0:
Successfully uninstalled torchvision-0.14.0
Successfully installed torch-1.12.1 torchvision-0.13.1
patching file functional.py
Collecting gdown
Using cached gdown-4.5.3-py3-none-any.whl
Requirement already satisfied: fastapi in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (0.86.0)
Collecting psutil
Using cached psutil-5.9.3-cp310-cp310-macosx_11_0_arm64.whl (243 kB)
Requirement already satisfied: requests[socks] in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (2.25.1)
Requirement already satisfied: tqdm in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (4.64.1)
Requirement already satisfied: filelock in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (3.8.0)
Requirement already satisfied: six in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gdown) (1.16.0)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
Requirement already satisfied: starlette==0.20.4 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Collecting soupsieve>1.2
Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests[socks]->gdown) (2022.9.24)
Collecting PySocks!=1.5.7,>=1.5.6
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Requirement already satisfied: sniffio>=1.1 in /Users/bamboozle/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
Installing collected packages: soupsieve, PySocks, psutil, beautifulsoup4, gdown
Successfully installed PySocks-1.7.1 beautifulsoup4-4.11.1 gdown-4.5.3 psutil-5.9.3 soupsieve-2.3.2.post1
To make your changes take effect please reactivate your environment
=============================================
=============================================
==============MORE INFORMATION===============
=============================================
=============================================
If you want to run the web UI again, you can run the following command:
./stable-diffusion-webui/run_webui_mac.sh
or
cd stable-diffusion-webui && ./run_webui_mac.sh
=============================================
=============================================
=============================================
=============================================
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Downloading: 100%|███████████████████████████| 939k/939k [00:00<00:00, 1.87MB/s]
Downloading: 100%|████████████████████████████| 512k/512k [00:00<00:00, 869kB/s]
Downloading: 100%|█████████████████████████████| 389/389 [00:00<00:00, 43.6kB/s]
Downloading: 100%|█████████████████████████████| 905/905 [00:00<00:00, 1.75MB/s]
Downloading: 100%|█████████████████████████| 4.41k/4.41k [00:00<00:00, 1.27MB/s]
Downloading: 100%|█████████████████████████| 1.59G/1.59G [02:46<00:00, 10.2MB/s]
Loading weights [7460a6fa] from /Users/bamboozle/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt
Global Step: 470000
Applying cross attention optimization (InvokeAI).
Model loaded.
Loaded a total of 0 textual inversion embeddings.
Embeddings:
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
dlsr photography, stock photo, user 0xdevalias wearing business suit supporting user Glittermann420 with valuable it tech support, office, modern interior office design
Ok, I'm on Mac M1 version 13.0 (22A380), I have two sets of logs one is the basic command line in the environment inside my web-ui folder, the other in the bin in my miniconda where I have been able to get rid of the errors in the first. Both are stalled
at (web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install rank_zero_only ERROR: Could not find a version that satisfies the requirement rank_zero_only (from versions: none) ERROR: No matching distribution found for rank_zero_only
The full logs for my regular stable-diffusion-web-ui folder are as follows.
-bash: pyenv: command not found
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
(base) Wesleys-MacBook-Air:Storage wesley$ cd documents
-bash: cd: documents: No such file or directory
(base) Wesleys-MacBook-Air:Storage wesley$ cd ..
(base) Wesleys-MacBook-Air:Documents wesley$ curl -sL https://raw.githubusercontent.com/seia-soto/stable-diffusion-webui-m1/master/webui.sh > webui.sh
(base) Wesleys-MacBook-Air:Documents wesley$ curl -sL https://raw.githubusercontent.com/seia-soto/stable-diffusion-webui-m1/master/webui.sh > webui.sh
(base) Wesleys-MacBook-Air:Documents wesley$ chmod +x ./webui.sh
(base) Wesleys-MacBook-Air:Documents wesley$ conda create -n web-ui python=3.10
WARNING: A conda environment already exists at '/Users/wesley/opt/miniconda3/envs/web-ui'
Remove existing environment (y/[n])? n
CondaSystemExit: Exiting.
(base) Wesleys-MacBook-Air:Documents wesley$ conda create -n web-ui python=3.10
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.9.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /Users/wesley/opt/miniconda3/envs/web-ui
added / updated specs:
- python=3.10
The following NEW packages will be INSTALLED:
bzip2 pkgs/main/osx-arm64::bzip2-1.0.8-h620ffc9_4
ca-certificates pkgs/main/osx-arm64::ca-certificates-2022.10.11-hca03da5_0
certifi pkgs/main/osx-arm64::certifi-2022.9.24-py310hca03da5_0
libcxx pkgs/main/osx-arm64::libcxx-14.0.6-h848a8c0_0
libffi pkgs/main/osx-arm64::libffi-3.4.2-hc377ac9_4
ncurses pkgs/main/osx-arm64::ncurses-6.3-h1a28f6b_3
openssl pkgs/main/osx-arm64::openssl-1.1.1s-h1a28f6b_0
pip pkgs/main/osx-arm64::pip-22.2.2-py310hca03da5_0
python pkgs/main/osx-arm64::python-3.10.6-hbdb9e5c_1
readline pkgs/main/osx-arm64::readline-8.2-h1a28f6b_0
setuptools pkgs/main/osx-arm64::setuptools-65.5.0-py310hca03da5_0
sqlite pkgs/main/osx-arm64::sqlite-3.39.3-h1058600_0
tk pkgs/main/osx-arm64::tk-8.6.12-hb8d0fd4_0
tzdata pkgs/main/noarch::tzdata-2022f-h04d1e81_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-arm64::xz-5.2.6-h1a28f6b_0
zlib pkgs/main/osx-arm64::zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate web-ui
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) Wesleys-MacBook-Air:Documents wesley$ conda activate web-ui
(web-ui) Wesleys-MacBook-Air:Documents wesley$ brew install cmake protobuf rust python git wget
Warning: No remote 'origin' in /opt/homebrew/Library/Taps/company/homebrew-team, skipping update!
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
You have 7 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
Running `brew update --auto-update`...
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: cmake 3.24.2 is already installed and up-to-date.
To reinstall 3.24.2, run:
brew reinstall cmake
Warning: protobuf 21.9_1 is already installed, it's just not linked.
To link this version, run:
brew link protobuf
Warning: rust 1.64.0 is already installed and up-to-date.
To reinstall 1.64.0, run:
brew reinstall rust
Warning: python@3.10 3.10.8 is already installed and up-to-date.
To reinstall 3.10.8, run:
brew reinstall python@3.10
Warning: git 2.38.1 is already installed and up-to-date.
To reinstall 2.38.1, run:
brew reinstall git
Warning: wget 1.21.3 is already installed and up-to-date.
To reinstall 1.21.3, run:
brew reinstall wget
(web-ui) Wesleys-MacBook-Air:Documents wesley$ cd ~/Documents/
(web-ui) Wesleys-MacBook-Air:Documents wesley$ $ cd ~/Documents/
-bash: $: command not found
(web-ui) Wesleys-MacBook-Air:Documents wesley$ $ curl https://raw.githubusercontent.com/dylancl/stable-diffusion-webui-mps/master/setup_mac.sh -o setup_mac.sh
-bash: $: command not found
(web-ui) Wesleys-MacBook-Air:Documents wesley$ $ chmod +x setup_mac.sh
-bash: $: command not found
(web-ui) Wesleys-MacBook-Air:Documents wesley$ $ ./setup_mac.sh
-bash: $: command not found
(web-ui) Wesleys-MacBook-Air:Documents wesley$ /Users/wesley/Documents/setup_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
conda is installed.
no change /Users/wesley/opt/miniconda3/condabin/conda
no change /Users/wesley/opt/miniconda3/bin/conda
no change /Users/wesley/opt/miniconda3/bin/conda-env
no change /Users/wesley/opt/miniconda3/bin/activate
no change /Users/wesley/opt/miniconda3/bin/deactivate
no change /Users/wesley/opt/miniconda3/etc/profile.d/conda.sh
no change /Users/wesley/opt/miniconda3/etc/fish/conf.d/conda.fish
no change /Users/wesley/opt/miniconda3/shell/condabin/Conda.psm1
no change /Users/wesley/opt/miniconda3/shell/condabin/conda-hook.ps1
no change /Users/wesley/opt/miniconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change /Users/wesley/opt/miniconda3/etc/profile.d/conda.csh
no change /Users/wesley/.bash_profile
No action taken.
Remove all packages in environment /Users/wesley/opt/miniconda3/envs/web-ui:
## Package Plan ##
environment location: /Users/wesley/opt/miniconda3/envs/web-ui
The following packages will be REMOVED:
bzip2-1.0.8-h620ffc9_4
ca-certificates-2022.10.11-hca03da5_0
certifi-2022.9.24-py310hca03da5_0
libcxx-14.0.6-h848a8c0_0
libffi-3.4.2-hc377ac9_4
ncurses-6.3-h1a28f6b_3
openssl-1.1.1s-h1a28f6b_0
pip-22.2.2-py310hca03da5_0
python-3.10.6-hbdb9e5c_1
readline-8.2-h1a28f6b_0
setuptools-65.5.0-py310hca03da5_0
sqlite-3.39.3-h1058600_0
tk-8.6.12-hb8d0fd4_0
tzdata-2022f-h04d1e81_0
wheel-0.37.1-pyhd3eb1b0_0
xz-5.2.6-h1a28f6b_0
zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.9.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /Users/wesley/opt/miniconda3/envs/web-ui
added / updated specs:
- python=3.10
The following NEW packages will be INSTALLED:
bzip2 pkgs/main/osx-arm64::bzip2-1.0.8-h620ffc9_4
ca-certificates pkgs/main/osx-arm64::ca-certificates-2022.10.11-hca03da5_0
certifi pkgs/main/osx-arm64::certifi-2022.9.24-py310hca03da5_0
libcxx pkgs/main/osx-arm64::libcxx-14.0.6-h848a8c0_0
libffi pkgs/main/osx-arm64::libffi-3.4.2-hc377ac9_4
ncurses pkgs/main/osx-arm64::ncurses-6.3-h1a28f6b_3
openssl pkgs/main/osx-arm64::openssl-1.1.1s-h1a28f6b_0
pip pkgs/main/osx-arm64::pip-22.2.2-py310hca03da5_0
python pkgs/main/osx-arm64::python-3.10.6-hbdb9e5c_1
readline pkgs/main/osx-arm64::readline-8.2-h1a28f6b_0
setuptools pkgs/main/osx-arm64::setuptools-65.5.0-py310hca03da5_0
sqlite pkgs/main/osx-arm64::sqlite-3.39.3-h1058600_0
tk pkgs/main/osx-arm64::tk-8.6.12-hb8d0fd4_0
tzdata pkgs/main/noarch::tzdata-2022f-h04d1e81_0
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
xz pkgs/main/osx-arm64::xz-5.2.6-h1a28f6b_0
zlib pkgs/main/osx-arm64::zlib-1.2.13-h5a0b063_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate web-ui
#
# To deactivate an active environment, use
#
# $ conda deactivate
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 10610, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 10610 (delta 16), reused 28 (delta 7), pack-reused 10562
Receiving objects: 100% (10610/10610), 23.59 MiB | 9.56 MiB/s, done.
Resolving deltas: 100% (7394/7394), done.
=============================================
=============================================
===========STABLE DIFFUSION MODEL============
=============================================
=============================================
If you've already downloaded the model, you now have time to copy it yourself to stable-diffusion-webui/models/Stable-diffusion/
If you haven't downloaded the model yet, you can enter n to downloaded the model from hugging face.
Have you already installed the model? (y/n) n
Installing model
Register an account on huggingface.co and then create a token (read) on https://huggingface.co/settings/tokens
Also make sure to accept the disclaimer here: https://huggingface.co/CompVis/stable-diffusion-v-1-4-original
Please enter your hugging face token: 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
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1125 100 1125 0 0 483 0 0:00:02 0:00:02 --:--:-- 484
100 4067M 100 4067M 0 0 25.1M 0 0:02:41 0:02:41 --:--:-- 28.1M
Cloning into 'repositories/stable-diffusion'...
remote: Enumerating objects: 313, done.
remote: Total 313 (delta 0), reused 0 (delta 0), pack-reused 313
Receiving objects: 100% (313/313), 42.63 MiB | 16.72 MiB/s, done.
Resolving deltas: 100% (103/103), done.
Cloning into 'repositories/taming-transformers'...
remote: Enumerating objects: 1335, done.
remote: Total 1335 (delta 0), reused 0 (delta 0), pack-reused 1335
Receiving objects: 100% (1335/1335), 409.77 MiB | 21.93 MiB/s, done.
Resolving deltas: 100% (280/280), done.
Cloning into 'repositories/CodeFormer'...
remote: Enumerating objects: 395, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 395 (delta 125), reused 113 (delta 110), pack-reused 223
Receiving objects: 100% (395/395), 12.57 MiB | 8.57 MiB/s, done.
Resolving deltas: 100% (168/168), done.
Cloning into 'repositories/BLIP'...
remote: Enumerating objects: 274, done.
remote: Counting objects: 100% (156/156), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 274 (delta 130), reused 117 (delta 117), pack-reused 118
Receiving objects: 100% (274/274), 7.04 MiB | 3.86 MiB/s, done.
Resolving deltas: 100% (150/150), done.
Cloning into 'repositories/k-diffusion'...
remote: Enumerating objects: 774, done.
remote: Counting objects: 100% (312/312), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 774 (delta 246), reused 265 (delta 215), pack-reused 462
Receiving objects: 100% (774/774), 159.23 KiB | 994.00 KiB/s, done.
Resolving deltas: 100% (518/518), done.
All files are in place. Continuing installation.
Requirement already satisfied: basicsr in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (1.4.2)
Requirement already satisfied: diffusers in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (0.7.2)
Requirement already satisfied: fairscale==0.4.4 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (0.4.4)
Requirement already satisfied: fonts in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (0.0.3)
Requirement already satisfied: font-roboto in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (0.0.1)
Requirement already satisfied: gfpgan in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (1.3.5)
Requirement already satisfied: gradio==3.9 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 7)) (3.9)
Requirement already satisfied: invisible-watermark in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (0.1.5)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (1.23.4)
Requirement already satisfied: omegaconf in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 10)) (2.2.3)
Requirement already satisfied: opencv-python in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (4.6.0.66)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 12)) (2.25.1)
Requirement already satisfied: piexif in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 13)) (1.1.3)
Requirement already satisfied: Pillow in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 14)) (9.3.0)
Requirement already satisfied: pytorch_lightning==1.7.7 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 15)) (1.7.7)
Requirement already satisfied: realesrgan in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 16)) (0.3.0)
Requirement already satisfied: scikit-image>=0.19 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 17)) (0.19.3)
Requirement already satisfied: timm==0.4.12 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 18)) (0.4.12)
Requirement already satisfied: transformers==4.19.2 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 19)) (4.19.2)
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 20)) (1.12.1)
Requirement already satisfied: einops in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 21)) (0.5.0)
Requirement already satisfied: jsonmerge in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 22)) (1.9.0)
Requirement already satisfied: clean-fid in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 23)) (0.1.34)
Requirement already satisfied: resize-right in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 24)) (0.0.2)
Requirement already satisfied: torchdiffeq in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 25)) (0.2.3)
Requirement already satisfied: kornia in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 26)) (0.6.8)
Requirement already satisfied: lark in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 27)) (1.1.4)
Requirement already satisfied: inflection in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 28)) (0.5.1)
Requirement already satisfied: GitPython in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 29)) (3.1.27)
Requirement already satisfied: pydantic in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (1.10.2)
Requirement already satisfied: fsspec in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2022.10.0)
Requirement already satisfied: pyyaml in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (6.0)
Requirement already satisfied: jinja2 in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.1.2)
Requirement already satisfied: matplotlib in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.6.1)
Requirement already satisfied: pydub in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.25.1)
Requirement already satisfied: httpx in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.23.0)
Requirement already satisfied: python-multipart in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.0.5)
Requirement already satisfied: h11<0.13,>=0.11 in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.12.0)
Requirement already satisfied: aiohttp in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.8.3)
Requirement already satisfied: paramiko in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2.11.0)
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.86.0)
Requirement already satisfied: pandas in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (1.5.1)
Requirement already satisfied: orjson in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.8.1)
Requirement already satisfied: ffmpy in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.3.0)
Requirement already satisfied: websockets in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (10.3)
Requirement already satisfied: pycryptodome in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.15.0)
Requirement already satisfied: uvicorn in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.19.0)
Requirement already satisfied: markdown-it-py[linkify,plugins] in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2.1.0)
Requirement already satisfied: packaging>=17.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (21.3)
Requirement already satisfied: typing-extensions>=4.0.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.4.0)
Requirement already satisfied: tensorboard>=2.9.1 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.10.1)
Requirement already satisfied: pyDeprecate>=0.3.1 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.3.2)
Requirement already satisfied: tqdm>=4.57.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.64.1)
Requirement already satisfied: torchmetrics>=0.7.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.10.2)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (from timm==0.4.12->-r requirements.txt (line 18)) (0.13.1)
Requirement already satisfied: regex!=2019.12.17 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (2022.9.13)
Requirement already satisfied: tokenizers!=0.11.3,<0.13,>=0.11.1 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (0.12.1)
Requirement already satisfied: filelock in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (3.8.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.1.0 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (0.10.1)
Requirement already satisfied: future in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (0.18.2)
Requirement already satisfied: lmdb in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (1.3.0)
Requirement already satisfied: scipy in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (1.9.3)
Requirement already satisfied: addict in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (2.4.0)
Requirement already satisfied: yapf in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (0.32.0)
Requirement already satisfied: tb-nightly in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (2.11.0a20221103)
Requirement already satisfied: importlib-metadata in /opt/homebrew/lib/python3.10/site-packages (from diffusers->-r requirements.txt (line 2)) (5.0.0)
Requirement already satisfied: facexlib>=0.2.5 in /opt/homebrew/lib/python3.10/site-packages (from gfpgan->-r requirements.txt (line 6)) (0.2.5)
Requirement already satisfied: onnx in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.12.0)
Requirement already satisfied: PyWavelets>=1.1.1 in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.4.1)
Requirement already satisfied: onnxruntime in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.13.1)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/homebrew/lib/python3.10/site-packages (from omegaconf->-r requirements.txt (line 10)) (4.9.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (4.0.0)
Requirement already satisfied: networkx>=2.2 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2.8.8)
Requirement already satisfied: tifffile>=2019.7.26 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2022.10.10)
Requirement already satisfied: imageio>=2.4.1 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2.22.2)
Requirement already satisfied: jsonschema>2.4.0 in /opt/homebrew/lib/python3.10/site-packages (from jsonmerge->-r requirements.txt (line 22)) (4.16.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/homebrew/lib/python3.10/site-packages (from GitPython->-r requirements.txt (line 29)) (4.0.9)
Requirement already satisfied: numba in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.56.3)
Requirement already satisfied: filterpy in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.8.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (2.1.1)
Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (22.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (6.0.2)
Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.3.1)
Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.2.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (4.0.2)
Requirement already satisfied: smmap<6,>=3.0.1 in /opt/homebrew/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython->-r requirements.txt (line 29)) (5.0.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /opt/homebrew/lib/python3.10/site-packages (from jsonschema>2.4.0->jsonmerge->-r requirements.txt (line 22)) (0.18.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/homebrew/lib/python3.10/site-packages (from packaging>=17.0->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.0.9)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.6.1)
Requirement already satisfied: protobuf<3.20,>=3.9.2 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.19.4)
Requirement already satisfied: markdown>=2.6.8 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.4.1)
Requirement already satisfied: werkzeug>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.2.2)
Requirement already satisfied: wheel>=0.26 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.37.1)
Requirement already satisfied: setuptools>=41.0.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (65.4.1)
Requirement already satisfied: absl-py>=0.4 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.8.1)
Requirement already satisfied: grpcio>=1.24.3 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.50.0)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.6)
Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.14.0)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi->gradio==3.9->-r requirements.txt (line 7)) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi->gradio==3.9->-r requirements.txt (line 7)) (3.6.2)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (0.15.0)
Requirement already satisfied: sniffio in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /opt/homebrew/lib/python3.10/site-packages (from importlib-metadata->diffusers->-r requirements.txt (line 2)) (3.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in /opt/homebrew/lib/python3.10/site-packages (from jinja2->gradio==3.9->-r requirements.txt (line 7)) (2.1.1)
Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (0.1.2)
Requirement already satisfied: mdit-py-plugins in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (0.3.1)
Requirement already satisfied: linkify-it-py~=1.0 in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (1.0.3)
Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (1.0.5)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (2.8.2)
Requirement already satisfied: cycler>=0.10 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (4.38.0)
Requirement already satisfied: coloredlogs in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (15.0.1)
Requirement already satisfied: sympy in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (1.11.1)
Requirement already satisfied: flatbuffers in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (22.10.26)
Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/lib/python3.10/site-packages (from pandas->gradio==3.9->-r requirements.txt (line 7)) (2022.5)
Requirement already satisfied: pynacl>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: bcrypt>=3.1.3 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (4.0.1)
Requirement already satisfied: six in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.16.0)
Requirement already satisfied: cryptography>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (38.0.3)
Requirement already satisfied: click>=7.0 in /opt/homebrew/lib/python3.10/site-packages (from uvicorn->gradio==3.9->-r requirements.txt (line 7)) (8.1.3)
Requirement already satisfied: cffi>=1.12 in /opt/homebrew/lib/python3.10/site-packages (from cryptography>=2.5->paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.15.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.2.8)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (5.2.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.1)
Requirement already satisfied: uc-micro-py in /opt/homebrew/lib/python3.10/site-packages (from linkify-it-py~=1.0->markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (1.0.1)
Requirement already satisfied: humanfriendly>=9.1 in /opt/homebrew/lib/python3.10/site-packages (from coloredlogs->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (10.0)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /opt/homebrew/lib/python3.10/site-packages (from numba->facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.39.1)
Requirement already satisfied: mpmath>=0.19 in /opt/homebrew/lib/python3.10/site-packages (from sympy->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (1.2.1)
Requirement already satisfied: pycparser in /opt/homebrew/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.5->paramiko->gradio==3.9->-r requirements.txt (line 7)) (2.21)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/homebrew/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/homebrew/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.2.2)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
Collecting git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Cloning https://github.com/openai/CLIP.git (to revision d50d76daa670286dd6cacf3bcd80b5e4823fc8e1) to /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-req-build-2j_es6rf
Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-req-build-2j_es6rf
Running command git rev-parse -q --verify 'sha^d50d76daa670286dd6cacf3bcd80b5e4823fc8e1'
Running command git fetch -q https://github.com/openai/CLIP.git d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Resolved https://github.com/openai/CLIP.git to commit d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
Preparing metadata (setup.py) ... done
Requirement already satisfied: ftfy in /opt/homebrew/lib/python3.10/site-packages (from clip==1.0) (6.1.1)
Requirement already satisfied: regex in /opt/homebrew/lib/python3.10/site-packages (from clip==1.0) (2022.9.13)
Requirement already satisfied: tqdm in /opt/homebrew/lib/python3.10/site-packages (from clip==1.0) (4.64.1)
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (from clip==1.0) (1.12.1)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (from clip==1.0) (0.13.1)
Requirement already satisfied: wcwidth>=0.2.5 in /opt/homebrew/lib/python3.10/site-packages (from ftfy->clip==1.0) (0.2.5)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch->clip==1.0) (4.4.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision->clip==1.0) (9.3.0)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision->clip==1.0) (2.25.1)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision->clip==1.0) (1.23.4)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision->clip==1.0) (2022.9.24)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-req-build-6rglhdr4
Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-req-build-6rglhdr4
Running command git rev-parse -q --verify 'sha^8d2447a2d918f8eba5a4a01463fd48e45126a379'
Running command git fetch -q https://github.com/TencentARC/GFPGAN.git 8d2447a2d918f8eba5a4a01463fd48e45126a379
Running command git checkout -q 8d2447a2d918f8eba5a4a01463fd48e45126a379
Resolved https://github.com/TencentARC/GFPGAN.git to commit 8d2447a2d918f8eba5a4a01463fd48e45126a379
Preparing metadata (setup.py) ... done
Requirement already satisfied: basicsr>=1.4.2 in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.4.2)
Requirement already satisfied: facexlib>=0.2.5 in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.2.5)
Requirement already satisfied: lmdb in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.3.0)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.23.4)
Requirement already satisfied: opencv-python in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.6.0.66)
Requirement already satisfied: pyyaml in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (6.0)
Requirement already satisfied: scipy in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.9.3)
Requirement already satisfied: tb-nightly in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (2.11.0a20221103)
Requirement already satisfied: torch>=1.7 in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.12.1)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.13.1)
Requirement already satisfied: tqdm in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.64.1)
Requirement already satisfied: yapf in /opt/homebrew/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.32.0)
Requirement already satisfied: future in /opt/homebrew/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.18.2)
Requirement already satisfied: Pillow in /opt/homebrew/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (9.3.0)
Requirement already satisfied: scikit-image in /opt/homebrew/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.19.3)
Requirement already satisfied: addict in /opt/homebrew/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.4.0)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.25.1)
Requirement already satisfied: numba in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (0.56.3)
Requirement already satisfied: filterpy in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (1.4.5)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (4.4.0)
Requirement already satisfied: wheel>=0.26 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.37.1)
Requirement already satisfied: werkzeug>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.2.2)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.6.1)
Requirement already satisfied: protobuf<4,>=3.9.2 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (3.19.4)
Requirement already satisfied: absl-py>=0.4 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.3.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.14.0)
Requirement already satisfied: setuptools>=41.0.0 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (65.4.1)
Requirement already satisfied: markdown>=2.6.8 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (3.4.1)
Requirement already satisfied: grpcio>=1.24.3 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.50.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.8.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /opt/homebrew/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.4.6)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.2.8)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (5.2.0)
Requirement already satisfied: six>=1.9.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tb-nightly->gfpgan==1.3.5) (1.3.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (1.26.12)
Requirement already satisfied: MarkupSafe>=2.1.1 in /opt/homebrew/lib/python3.10/site-packages (from werkzeug>=1.0.1->tb-nightly->gfpgan==1.3.5) (2.1.1)
Requirement already satisfied: matplotlib in /opt/homebrew/lib/python3.10/site-packages (from filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (3.6.1)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /opt/homebrew/lib/python3.10/site-packages (from numba->facexlib>=0.2.5->gfpgan==1.3.5) (0.39.1)
Requirement already satisfied: tifffile>=2019.7.26 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2022.10.10)
Requirement already satisfied: imageio>=2.4.1 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2.22.2)
Requirement already satisfied: packaging>=20.0 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (21.3)
Requirement already satisfied: networkx>=2.2 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2.8.8)
Requirement already satisfied: PyWavelets>=1.1.1 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (1.4.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/homebrew/lib/python3.10/site-packages (from packaging>=20.0->scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (3.0.9)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/homebrew/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/homebrew/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tb-nightly->gfpgan==1.3.5) (3.2.2)
Requirement already satisfied: cycler>=0.10 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (0.11.0)
Requirement already satisfied: python-dateutil>=2.7 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (2.8.2)
Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (1.4.4)
Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (1.0.5)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
Requirement already satisfied: torch==1.12.1 in /opt/homebrew/lib/python3.10/site-packages (1.12.1)
Requirement already satisfied: torchvision==0.13.1 in /opt/homebrew/lib/python3.10/site-packages (0.13.1)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision==0.13.1) (1.23.4)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision==0.13.1) (2.25.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision==0.13.1) (9.3.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision==0.13.1) (4.0.0)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'torch'
patch: **** can't cd to /nn: No such file or directory
Requirement already satisfied: gdown in /opt/homebrew/lib/python3.10/site-packages (4.5.3)
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: psutil in /opt/homebrew/lib/python3.10/site-packages (5.9.3)
Requirement already satisfied: six in /opt/homebrew/lib/python3.10/site-packages (from gdown) (1.16.0)
Requirement already satisfied: filelock in /opt/homebrew/lib/python3.10/site-packages (from gdown) (3.8.0)
Requirement already satisfied: beautifulsoup4 in /opt/homebrew/lib/python3.10/site-packages (from gdown) (4.11.1)
Requirement already satisfied: tqdm in /opt/homebrew/lib/python3.10/site-packages (from gdown) (4.64.1)
Requirement already satisfied: requests[socks] in /opt/homebrew/lib/python3.10/site-packages (from gdown) (2.25.1)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /opt/homebrew/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: soupsieve>1.2 in /opt/homebrew/lib/python3.10/site-packages (from beautifulsoup4->gdown) (2.3.2.post1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests[socks]->gdown) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests[socks]->gdown) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests[socks]->gdown) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /opt/homebrew/lib/python3.10/site-packages (from requests[socks]->gdown) (1.7.1)
Requirement already satisfied: sniffio>=1.1 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
=============================================
=============================================
==============MORE INFORMATION===============
=============================================
=============================================
If you want to run the web UI again, you can run the following command:
./stable-diffusion-webui/run_webui_mac.sh
or
cd stable-diffusion-webui && ./run_webui_mac.sh
=============================================
=============================================
=============================================
=============================================
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 7, in <module>
from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'
(web-ui) Wesleys-MacBook-Air:Documents wesley$ cd stable-diffusion-webui && ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
Already up to date.
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 7, in <module>
from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ cd stable-diffusion-webui && ./run_webui_mac.sh
-bash: cd: stable-diffusion-webui: No such file or directory
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
Already up to date.
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install torchvision
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (0.13.1)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (4.4.0)
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.12.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (9.3.0)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (2.25.1)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.23.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (4.0.0)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (1.12.1)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (0.13.1)
Requirement already satisfied: torchaudio in /opt/homebrew/lib/python3.10/site-packages (0.13.0)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch) (4.4.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (9.3.0)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.23.4)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (2.25.1)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2.10)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
-bash: Looking: command not found
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (1.12.1)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (0.13.1)
Requirement already satisfied: torchaudio in /opt/homebrew/lib/python3.10/site-packages (0.13.0)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch) (4.4.0)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (9.3.0)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2022.9.24)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
Already up to date.
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
Already up to date.
./run_webui_mac.sh: line 14: +: command not found
./run_webui_mac.sh: line 15: +: command not found
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 7, in <module>
from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ./run_webui_mac.sh
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
To make your changes take effect please reactivate your environment
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
./run_webui_mac.sh: line 14: +: command not found
./run_webui_mac.sh: line 15: +: command not found
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 7, in <module>
from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ /pip install fastapi
-bash: /pip: No such file or directory
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip3 install fastapi
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /opt/homebrew/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: sniffio>=1.1 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
Requirement already satisfied: idna>=2.8 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (2.10)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python3.10 -m pip install --upgrade pip
Requirement already satisfied: pip in /opt/homebrew/lib/python3.10/site-packages (22.2.2)
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.2.2
Uninstalling pip-22.2.2:
Successfully uninstalled pip-22.2.2
Successfully installed pip-22.3.1
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip3 install fastapi
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /opt/homebrew/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: sniffio>=1.1 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
Requirement already satisfied: idna>=2.8 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (2.10)
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip uninstall fast api
WARNING: Skipping fast as it is not installed.
WARNING: Skipping api as it is not installed.
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip3 install fastapi
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /opt/homebrew/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: sniffio>=1.1 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
Requirement already satisfied: idna>=2.8 in /opt/homebrew/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (2.10)
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install -r requirements.txt
Requirement already satisfied: basicsr in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (1.4.2)
Requirement already satisfied: diffusers in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (0.7.2)
Requirement already satisfied: fairscale==0.4.4 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (0.4.4)
Requirement already satisfied: fonts in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (0.0.3)
Requirement already satisfied: font-roboto in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (0.0.1)
Requirement already satisfied: gfpgan in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (1.3.5)
Requirement already satisfied: gradio==3.9 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 7)) (3.9)
Requirement already satisfied: invisible-watermark in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (0.1.5)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (1.23.4)
Requirement already satisfied: omegaconf in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 10)) (2.2.3)
Requirement already satisfied: opencv-python in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (4.6.0.66)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 12)) (2.25.1)
Requirement already satisfied: piexif in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 13)) (1.1.3)
Requirement already satisfied: Pillow in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 14)) (9.3.0)
Requirement already satisfied: pytorch_lightning==1.7.7 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 15)) (1.7.7)
Requirement already satisfied: realesrgan in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 16)) (0.3.0)
Requirement already satisfied: scikit-image>=0.19 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 17)) (0.19.3)
Requirement already satisfied: timm==0.4.12 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 18)) (0.4.12)
Requirement already satisfied: transformers==4.19.2 in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 19)) (4.19.2)
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 20)) (1.12.1)
Requirement already satisfied: einops in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 21)) (0.5.0)
Requirement already satisfied: jsonmerge in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 22)) (1.9.0)
Requirement already satisfied: clean-fid in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 23)) (0.1.34)
Requirement already satisfied: resize-right in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 24)) (0.0.2)
Requirement already satisfied: torchdiffeq in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 25)) (0.2.3)
Requirement already satisfied: kornia in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 26)) (0.6.8)
Requirement already satisfied: lark in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 27)) (1.1.4)
Requirement already satisfied: inflection in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 28)) (0.5.1)
Requirement already satisfied: GitPython in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 29)) (3.1.27)
Requirement already satisfied: pyyaml in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (6.0)
Requirement already satisfied: orjson in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.8.1)
Requirement already satisfied: httpx in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.23.0)
Requirement already satisfied: jinja2 in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.1.2)
Requirement already satisfied: pydub in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.25.1)
Requirement already satisfied: aiohttp in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.8.3)
Requirement already satisfied: h11<0.13,>=0.11 in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.12.0)
Requirement already satisfied: markdown-it-py[linkify,plugins] in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2.1.0)
Requirement already satisfied: ffmpy in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.3.0)
Requirement already satisfied: pandas in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (1.5.1)
Requirement already satisfied: fsspec in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2022.10.0)
Requirement already satisfied: pycryptodome in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.15.0)
Requirement already satisfied: paramiko in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (2.11.0)
Requirement already satisfied: python-multipart in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.0.5)
Requirement already satisfied: matplotlib in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (3.6.1)
Requirement already satisfied: pydantic in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (1.10.2)
Requirement already satisfied: websockets in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (10.3)
Requirement already satisfied: uvicorn in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.19.0)
Requirement already satisfied: fastapi in /opt/homebrew/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.86.0)
Requirement already satisfied: tensorboard>=2.9.1 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.10.1)
Requirement already satisfied: tqdm>=4.57.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.64.1)
Requirement already satisfied: typing-extensions>=4.0.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.4.0)
Requirement already satisfied: pyDeprecate>=0.3.1 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.3.2)
Requirement already satisfied: packaging>=17.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (21.3)
Requirement already satisfied: torchmetrics>=0.7.0 in /opt/homebrew/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.10.2)
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (from timm==0.4.12->-r requirements.txt (line 18)) (0.13.1)
Requirement already satisfied: filelock in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (3.8.0)
Requirement already satisfied: regex!=2019.12.17 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (2022.9.13)
Requirement already satisfied: tokenizers!=0.11.3,<0.13,>=0.11.1 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (0.12.1)
Requirement already satisfied: huggingface-hub<1.0,>=0.1.0 in /opt/homebrew/lib/python3.10/site-packages (from transformers==4.19.2->-r requirements.txt (line 19)) (0.10.1)
Requirement already satisfied: tb-nightly in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (2.11.0a20221103)
Requirement already satisfied: future in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (0.18.2)
Requirement already satisfied: scipy in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (1.9.3)
Requirement already satisfied: lmdb in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (1.3.0)
Requirement already satisfied: addict in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (2.4.0)
Requirement already satisfied: yapf in /opt/homebrew/lib/python3.10/site-packages (from basicsr->-r requirements.txt (line 1)) (0.32.0)
Requirement already satisfied: importlib-metadata in /opt/homebrew/lib/python3.10/site-packages (from diffusers->-r requirements.txt (line 2)) (5.0.0)
Requirement already satisfied: facexlib>=0.2.5 in /opt/homebrew/lib/python3.10/site-packages (from gfpgan->-r requirements.txt (line 6)) (0.2.5)
Requirement already satisfied: PyWavelets>=1.1.1 in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.4.1)
Requirement already satisfied: onnx in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.12.0)
Requirement already satisfied: onnxruntime in /opt/homebrew/lib/python3.10/site-packages (from invisible-watermark->-r requirements.txt (line 8)) (1.13.1)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/homebrew/lib/python3.10/site-packages (from omegaconf->-r requirements.txt (line 10)) (4.9.3)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2022.9.24)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (1.26.12)
Requirement already satisfied: tifffile>=2019.7.26 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2022.10.10)
Requirement already satisfied: networkx>=2.2 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2.8.8)
Requirement already satisfied: imageio>=2.4.1 in /opt/homebrew/lib/python3.10/site-packages (from scikit-image>=0.19->-r requirements.txt (line 17)) (2.22.2)
Requirement already satisfied: jsonschema>2.4.0 in /opt/homebrew/lib/python3.10/site-packages (from jsonmerge->-r requirements.txt (line 22)) (4.16.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/homebrew/lib/python3.10/site-packages (from GitPython->-r requirements.txt (line 29)) (4.0.9)
Requirement already satisfied: filterpy in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: numba in /opt/homebrew/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.56.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.8.1)
Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (22.1.0)
Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.3.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (2.1.1)
Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (1.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (6.0.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/homebrew/lib/python3.10/site-packages (from aiohttp->gradio==3.9->-r requirements.txt (line 7)) (4.0.2)
Requirement already satisfied: smmap<6,>=3.0.1 in /opt/homebrew/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython->-r requirements.txt (line 29)) (5.0.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /opt/homebrew/lib/python3.10/site-packages (from jsonschema>2.4.0->jsonmerge->-r requirements.txt (line 22)) (0.18.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/homebrew/lib/python3.10/site-packages (from packaging>=17.0->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.0.9)
Requirement already satisfied: markdown>=2.6.8 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.4.1)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.8.1)
Requirement already satisfied: werkzeug>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.2.2)
Requirement already satisfied: setuptools>=41.0.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (65.4.1)
Requirement already satisfied: wheel>=0.26 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.37.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.6)
Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (2.14.0)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.6.1)
Requirement already satisfied: grpcio>=1.24.3 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.50.0)
Requirement already satisfied: protobuf<3.20,>=3.9.2 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.19.4)
Requirement already satisfied: absl-py>=0.4 in /opt/homebrew/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.0)
Requirement already satisfied: starlette==0.20.4 in /opt/homebrew/lib/python3.10/site-packages (from fastapi->gradio==3.9->-r requirements.txt (line 7)) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/lib/python3.10/site-packages (from starlette==0.20.4->fastapi->gradio==3.9->-r requirements.txt (line 7)) (3.6.2)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (0.15.0)
Requirement already satisfied: sniffio in /opt/homebrew/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /opt/homebrew/lib/python3.10/site-packages (from importlib-metadata->diffusers->-r requirements.txt (line 2)) (3.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in /opt/homebrew/lib/python3.10/site-packages (from jinja2->gradio==3.9->-r requirements.txt (line 7)) (2.1.1)
Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (0.1.2)
Requirement already satisfied: linkify-it-py~=1.0 in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (1.0.3)
Requirement already satisfied: mdit-py-plugins in /opt/homebrew/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (0.3.1)
Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (4.38.0)
Requirement already satisfied: python-dateutil>=2.7 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (2.8.2)
Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (1.0.5)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (1.4.4)
Requirement already satisfied: cycler>=0.10 in /opt/homebrew/lib/python3.10/site-packages (from matplotlib->gradio==3.9->-r requirements.txt (line 7)) (0.11.0)
Requirement already satisfied: coloredlogs in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (15.0.1)
Requirement already satisfied: flatbuffers in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (22.10.26)
Requirement already satisfied: sympy in /opt/homebrew/lib/python3.10/site-packages (from onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (1.11.1)
Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/lib/python3.10/site-packages (from pandas->gradio==3.9->-r requirements.txt (line 7)) (2022.5)
Requirement already satisfied: six in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.16.0)
Requirement already satisfied: cryptography>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (38.0.3)
Requirement already satisfied: pynacl>=1.0.1 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: bcrypt>=3.1.3 in /opt/homebrew/lib/python3.10/site-packages (from paramiko->gradio==3.9->-r requirements.txt (line 7)) (4.0.1)
Requirement already satisfied: click>=7.0 in /opt/homebrew/lib/python3.10/site-packages (from uvicorn->gradio==3.9->-r requirements.txt (line 7)) (8.1.3)
Requirement already satisfied: cffi>=1.12 in /opt/homebrew/lib/python3.10/site-packages (from cryptography>=2.5->paramiko->gradio==3.9->-r requirements.txt (line 7)) (1.15.1)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (5.2.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.9)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/homebrew/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.2.8)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/homebrew/lib/python3.10/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.1)
Requirement already satisfied: uc-micro-py in /opt/homebrew/lib/python3.10/site-packages (from linkify-it-py~=1.0->markdown-it-py[linkify,plugins]->gradio==3.9->-r requirements.txt (line 7)) (1.0.1)
Requirement already satisfied: humanfriendly>=9.1 in /opt/homebrew/lib/python3.10/site-packages (from coloredlogs->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (10.0)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /opt/homebrew/lib/python3.10/site-packages (from numba->facexlib>=0.2.5->gfpgan->-r requirements.txt (line 6)) (0.39.1)
Requirement already satisfied: mpmath>=0.19 in /opt/homebrew/lib/python3.10/site-packages (from sympy->onnxruntime->invisible-watermark->-r requirements.txt (line 8)) (1.2.1)
Requirement already satisfied: pycparser in /opt/homebrew/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.5->paramiko->gradio==3.9->-r requirements.txt (line 7)) (2.21)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/homebrew/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/homebrew/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.2.2)
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install torch
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (1.12.1)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch) (4.4.0)
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip uninstall torch
Found existing installation: torch 1.12.1
Uninstalling torch-1.12.1:
Would remove:
/opt/homebrew/bin/convert-caffe2-to-onnx
/opt/homebrew/bin/convert-onnx-to-caffe2
/opt/homebrew/bin/torchrun
/opt/homebrew/lib/python3.10/site-packages/caffe2/*
/opt/homebrew/lib/python3.10/site-packages/torch-1.12.1.dist-info/*
/opt/homebrew/lib/python3.10/site-packages/torch/*
/opt/homebrew/lib/python3.10/site-packages/torchgen/*
Proceed (Y/n)? y
Successfully uninstalled torch-1.12.1
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install torch
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torch) (4.4.0)
Installing collected packages: torch
Successfully installed torch-1.13.0
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 11, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 10, in <module>
import numpy
ModuleNotFoundError: No module named 'numpy'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 5, in <module>
import tqdm
ModuleNotFoundError: No module named 'tqdm'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 6, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/augmentation.py", line 6, in <module>
from skimage import transform
ModuleNotFoundError: No module named 'skimage'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --precision full --no-half --opt-split-attention-v1 --use-cpu GFPGAN CodeFormer --disable-safe-unpickle
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/config.py", line 6, in <module>
from jsonmerge import merge
ModuleNotFoundError: No module named 'jsonmerge'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/config.py", line 8, in <module>
from . import augmentation, layers, models, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/layers.py", line 8, in <module>
from . import utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/utils.py", line 13, in <module>
from torchvision.transforms import functional as TF
ModuleNotFoundError: No module named 'torchvision'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/evaluation.py", line 5, in <module>
from cleanfid.inception_torchscript import InceptionV3W
ModuleNotFoundError: No module named 'cleanfid'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in <module>
import k_diffusion.sampling
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/__init__.py", line 1, in <module>
from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/evaluation.py", line 6, in <module>
import clip
ModuleNotFoundError: No module named 'clip'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 9, in <module>
import gradio as gr
ModuleNotFoundError: No module named 'gradio'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 15, in <module>
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 8, in <module>
from omegaconf import OmegaConf
ModuleNotFoundError: No module named 'omegaconf'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 15, in <module>
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 12, in <module>
from modules import shared, modelloader, devices, script_callbacks, sd_vae
File "/Users/wesley/Documents/stable-diffusion-webui/modules/modelloader.py", line 7, in <module>
from basicsr.utils.download_util import load_file_from_url
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/CodeFormer/basicsr/__init__.py", line 5, in <module>
from .losses import *
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/CodeFormer/basicsr/losses/__init__.py", line 5, in <module>
from .losses import (CharbonnierLoss, GANLoss, L1Loss, MSELoss, PerceptualLoss, WeightedTVLoss, g_path_regularize,
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/CodeFormer/basicsr/losses/losses.py", line 2, in <module>
import lpips
ModuleNotFoundError: No module named 'lpips'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 15, in <module>
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 12, in <module>
from modules import shared, modelloader, devices, script_callbacks, sd_vae
File "/Users/wesley/Documents/stable-diffusion-webui/modules/modelloader.py", line 7, in <module>
from basicsr.utils.download_util import load_file_from_url
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/CodeFormer/basicsr/__init__.py", line 11, in <module>
from .version import __gitsha__, __version__
ModuleNotFoundError: No module named 'basicsr.version'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install basicsr.version
ERROR: Could not find a version that satisfies the requirement basicsr.version (from versions: none)
ERROR: No matching distribution found for basicsr.version
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 15, in <module>
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 14, in <module>
from modules.sd_hijack_inpainting import do_inpainting_hijack, should_hijack_inpainting
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 6, in <module>
import ldm.models.diffusion.ddpm
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 12, in <module>
import pytorch_lightning as pl
ModuleNotFoundError: No module named 'pytorch_lightning'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 13, in <module>
from modules import devices, sd_samplers, upscaler, extensions, localization
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 11, in <module>
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in <module>
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in <module>
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in <module>
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 15, in <module>
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 14, in <module>
from modules.sd_hijack_inpainting import do_inpainting_hijack, should_hijack_inpainting
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 6, in <module>
import ldm.models.diffusion.ddpm
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 19, in <module>
from pytorch_lightning.utilities.distributed import rank_zero_only
ImportError: cannot import name 'rank_zero_only' from 'pytorch_lightning.utilities.distributed' (/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/pytorch_lightning/utilities/distributed.py)
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip install rank_zero_only
ERROR: Could not find a version that satisfies the requirement rank_zero_only (from versions: none)
ERROR: No matching distribution found for rank_zero_only
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ from pytorch_lightning.utilities.rank_zero import rank_zero_only
-bash: from: command not found
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ls
CODEOWNERS run_webui_mac.sh
README.md screenshot.png
artists.csv script.js
embeddings scripts
environment-wsl2.yaml style.css
extensions test
javascript textual_inversion_templates
launch.py txt2img_Screenshot.png
localizations webui-user.bat
models webui-user.sh
modules webui.bat
repositories webui.py
requirements.txt webui.sh
requirements_versions.txt
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ```
Followed by the parallel efforts in my miniconda/bin logs
```Last login: Mon Nov 7 08:04:02 on ttys000
-bash: pyenv: command not found
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
(base) Wesleys-MacBook-Air:bin wesley$ ./pip install fastapi
Collecting fastapi
Using cached fastapi-0.86.0-py3-none-any.whl (55 kB)
Collecting starlette==0.20.4
Using cached starlette-0.20.4-py3-none-any.whl (63 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.2-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB)
Collecting anyio<5,>=3.4.0
Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting typing-extensions>=4.1.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting idna>=2.8
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting sniffio>=1.1
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Installing collected packages: typing-extensions, sniffio, idna, pydantic, anyio, starlette, fastapi
Successfully installed anyio-3.6.2 fastapi-0.86.0 idna-3.4 pydantic-1.10.2 sniffio-1.3.0 starlette-0.20.4 typing-extensions-4.4.0
(base) Wesleys-MacBook-Air:bin wesley$ conda activate web-ui
WARNING: overwriting environment variables set in the machine
overwriting variable PYTORCH_ENABLE_MPS_FALLBACK
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install fastapi
Requirement already satisfied: fastapi in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: starlette==0.20.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: sniffio>=1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
Requirement already satisfied: idna>=2.8 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (3.4)
(web-ui) Wesleys-MacBook-Air:bin wesley$ pip install torchvision
Requirement already satisfied: torchvision in /opt/homebrew/lib/python3.10/site-packages (0.13.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (9.3.0)
Requirement already satisfied: typing-extensions in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (4.4.0)
Requirement already satisfied: torch in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.12.1)
Requirement already satisfied: numpy in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (1.23.4)
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from torchvision) (2.25.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2022.9.24)
Requirement already satisfied: chardet<5,>=3.0.2 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->torchvision) (2.10)
[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install fastapi
Requirement already satisfied: fastapi in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (0.86.0)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (1.10.2)
Requirement already satisfied: starlette==0.20.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from starlette==0.20.4->fastapi) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi) (4.4.0)
Requirement already satisfied: idna>=2.8 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (3.4)
Requirement already satisfied: sniffio>=1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from anyio<5,>=3.4.0->starlette==0.20.4->fastapi) (1.3.0)
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install torch
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch) (4.4.0)
Installing collected packages: torch
Successfully installed torch-1.13.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip uninstall torch
Found existing installation: torch 1.13.0
Uninstalling torch-1.13.0:
Would remove:
/Users/wesley/opt/miniconda3/envs/web-ui/bin/convert-caffe2-to-onnx
/Users/wesley/opt/miniconda3/envs/web-ui/bin/convert-onnx-to-caffe2
/Users/wesley/opt/miniconda3/envs/web-ui/bin/torchrun
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/caffe2/*
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/functorch/*
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/torch-1.13.0.dist-info/*
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/torch/*
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/torchgen/*
Proceed (Y/n)? y
Successfully uninstalled torch-1.13.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install torch
Collecting torch
Using cached torch-1.13.0-cp310-none-macosx_11_0_arm64.whl (55.7 MB)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch) (4.4.0)
Installing collected packages: torch
Successfully installed torch-1.13.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip uninstall numpy
WARNING: Skipping numpy as it is not installed.
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install numpy
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
Installing collected packages: numpy
Successfully installed numpy-1.23.4
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install -r requirements.txt
Collecting basicsr
Using cached basicsr-1.4.2-py3-none-any.whl
Collecting diffusers
Using cached diffusers-0.7.2-py3-none-any.whl (304 kB)
Collecting fairscale==0.4.4
Using cached fairscale-0.4.4-py3-none-any.whl
Collecting fonts
Using cached fonts-0.0.3-py3-none-any.whl (4.2 kB)
Collecting font-roboto
Using cached font_roboto-0.0.1-py3-none-any.whl
Collecting gfpgan
Using cached gfpgan-1.3.8-py3-none-any.whl (52 kB)
Collecting gradio==3.9
Using cached gradio-3.9-py3-none-any.whl (11.6 MB)
Collecting invisible-watermark
Using cached invisible_watermark-0.1.5-py3-none-any.whl (1.6 MB)
Requirement already satisfied: numpy in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (1.23.4)
Collecting omegaconf
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Collecting opencv-python
Using cached opencv_python-4.6.0.66-cp37-abi3-macosx_11_0_arm64.whl (30.0 MB)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting piexif
Using cached piexif-1.1.3-py2.py3-none-any.whl (20 kB)
Collecting Pillow
Using cached Pillow-9.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
Collecting pytorch_lightning==1.7.7
Using cached pytorch_lightning-1.7.7-py3-none-any.whl (708 kB)
Collecting realesrgan
Using cached realesrgan-0.3.0-py3-none-any.whl (26 kB)
Collecting scikit-image>=0.19
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Collecting timm==0.4.12
Using cached timm-0.4.12-py3-none-any.whl (376 kB)
Collecting transformers==4.19.2
Using cached transformers-4.19.2-py3-none-any.whl (4.2 MB)
Requirement already satisfied: torch in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from -r requirements.txt (line 20)) (1.13.0)
Collecting einops
Using cached einops-0.5.0-py3-none-any.whl (36 kB)
Collecting jsonmerge
Using cached jsonmerge-1.9.0-py3-none-any.whl
Collecting clean-fid
Using cached clean_fid-0.1.34-py3-none-any.whl (26 kB)
Collecting resize-right
Using cached resize_right-0.0.2-py3-none-any.whl (8.9 kB)
Collecting torchdiffeq
Using cached torchdiffeq-0.2.3-py3-none-any.whl (31 kB)
Collecting kornia
Using cached kornia-0.6.8-py2.py3-none-any.whl (551 kB)
Collecting lark
Using cached lark-1.1.4-py3-none-any.whl (107 kB)
Collecting inflection
Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting GitPython
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Collecting aiohttp
Using cached aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
Requirement already satisfied: fastapi in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (0.86.0)
Collecting python-multipart
Using cached python_multipart-0.0.5-py3-none-any.whl
Collecting h11<0.13,>=0.11
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Collecting websockets
Using cached websockets-10.4-cp310-cp310-macosx_11_0_arm64.whl (97 kB)
Collecting pydub
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting uvicorn
Using cached uvicorn-0.19.0-py3-none-any.whl (56 kB)
Collecting orjson
Using cached orjson-3.8.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (490 kB)
Collecting pycryptodome
Using cached pycryptodome-3.15.0-cp35-abi3-macosx_11_0_arm64.whl
Collecting fsspec
Using cached fsspec-2022.10.0-py3-none-any.whl (138 kB)
Collecting paramiko
Downloading paramiko-2.12.0-py2.py3-none-any.whl (213 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 213.1/213.1 kB 1.4 MB/s eta 0:00:00
Collecting httpx
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
Collecting ffmpy
Using cached ffmpy-0.3.0-py3-none-any.whl
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Requirement already satisfied: pydantic in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio==3.9->-r requirements.txt (line 7)) (1.10.2)
Collecting pandas
Using cached pandas-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting packaging>=17.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting pyDeprecate>=0.3.1
Using cached pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting tqdm>=4.57.0
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting torchmetrics>=0.7.0
Using cached torchmetrics-0.10.2-py3-none-any.whl (529 kB)
Requirement already satisfied: typing-extensions>=4.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.4.0)
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Collecting huggingface-hub<1.0,>=0.1.0
Using cached huggingface_hub-0.10.1-py3-none-any.whl (163 kB)
Collecting filelock
Using cached filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1-cp310-cp310-macosx_12_0_arm64.whl
Collecting regex!=2019.12.17
Using cached regex-2022.10.31-cp310-cp310-macosx_11_0_arm64.whl (287 kB)
Collecting lmdb
Using cached lmdb-1.3.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting tb-nightly
Downloading tb_nightly-2.11.0a20221107-py3-none-any.whl (6.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 20.8 MB/s eta 0:00:00
Collecting yapf
Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB)
Collecting scipy
Using cached scipy-1.9.3-cp310-cp310-macosx_12_0_arm64.whl (28.5 MB)
Collecting addict
Using cached addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting importlib-metadata
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting facexlib>=0.2.5
Using cached facexlib-0.2.5-py3-none-any.whl (59 kB)
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB)
Collecting onnx
Using cached onnx-1.12.0.tar.gz (10.1 MB)
Preparing metadata (setup.py) ... done
Collecting onnxruntime
Using cached onnxruntime-1.13.1-cp310-cp310-macosx_11_0_arm64.whl (5.4 MB)
Collecting antlr4-python3-runtime==4.9.*
Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Requirement already satisfied: idna<4,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->-r requirements.txt (line 12)) (2022.9.24)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting imageio>=2.4.1
Downloading imageio-2.22.4-py3-none-any.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 26.3 MB/s eta 0:00:00
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.10.10-py3-none-any.whl (210 kB)
Collecting networkx>=2.2
Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting jsonschema>2.4.0
Using cached jsonschema-4.17.0-py3-none-any.whl (83 kB)
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting idna<4,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting filterpy
Using cached filterpy-1.4.5-py3-none-any.whl
Collecting numba
Downloading numba-0.56.4-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 25.9 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1-cp310-cp310-macosx_11_0_arm64.whl (57 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (34 kB)
Collecting attrs>=17.3.0
Using cached attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.19.2-cp310-cp310-macosx_10_9_universal2.whl (82 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Requirement already satisfied: setuptools>=41.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (65.5.0)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
Using cached tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.14.0-py2.py3-none-any.whl (175 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting absl-py>=0.4
Using cached absl_py-1.3.0-py3-none-any.whl (124 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Requirement already satisfied: wheel>=0.26 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.37.1)
Collecting grpcio>=1.24.3
Using cached grpcio-1.50.0-cp310-cp310-macosx_11_0_arm64.whl
Collecting werkzeug>=1.0.1
Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Collecting protobuf<3.20,>=3.9.2
Using cached protobuf-3.19.6-py2.py3-none-any.whl (162 kB)
Requirement already satisfied: starlette==0.20.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi->gradio==3.9->-r requirements.txt (line 7)) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from starlette==0.20.4->fastapi->gradio==3.9->-r requirements.txt (line 7)) (3.6.2)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: sniffio in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from httpx->gradio==3.9->-r requirements.txt (line 7)) (1.3.0)
Collecting httpcore<0.16.0,>=0.15.0
Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Collecting zipp>=0.5
Using cached zipp-3.10.0-py3-none-any.whl (6.2 kB)
Collecting MarkupSafe>=2.0
Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl (17 kB)
Collecting mdurl~=0.1
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting linkify-it-py~=1.0
Using cached linkify_it_py-1.0.3-py3-none-any.whl (19 kB)
Collecting mdit-py-plugins
Using cached mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp310-cp310-macosx_11_0_arm64.whl (63 kB)
Collecting cycler>=0.10
Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting python-dateutil>=2.7
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.6-cp310-cp310-macosx_11_0_arm64.whl (225 kB)
Collecting sympy
Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
Collecting flatbuffers
Using cached flatbuffers-22.10.26-py2.py3-none-any.whl (26 kB)
Collecting coloredlogs
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Collecting pytz>=2020.1
Using cached pytz-2022.6-py2.py3-none-any.whl (498 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cryptography>=2.5
Using cached cryptography-38.0.3-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB)
Collecting bcrypt>=3.1.3
Using cached bcrypt-4.0.1-cp36-abi3-macosx_10_10_universal2.whl (473 kB)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.5.0-cp36-abi3-macosx_10_10_universal2.whl (349 kB)
Collecting click>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl (174 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting cachetools<6.0,>=2.0.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting uc-micro-py
Using cached uc_micro_py-1.0.1-py3-none-any.whl (6.2 kB)
Collecting humanfriendly>=9.1
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting llvmlite<0.40,>=0.39.0dev0
Using cached llvmlite-0.39.1-cp310-cp310-macosx_11_0_arm64.whl (23.1 MB)
Collecting mpmath>=0.19
Using cached mpmath-1.2.1-py3-none-any.whl (532 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Building wheels for collected packages: onnx
Building wheel for onnx (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [79 lines of output]
fatal: not a git repository (or any of the parent directories): .git
/Users/wesley/opt/miniconda3/envs/web-ui/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(
running bdist_wheel
running build
running build_py
running create_version
running cmake_build
Using cmake args: ['/opt/homebrew/bin/cmake', '-DPYTHON_INCLUDE_DIR=/Users/wesley/opt/miniconda3/envs/web-ui/include/python3.10', '-DPYTHON_EXECUTABLE=/Users/wesley/opt/miniconda3/envs/web-ui/bin/python', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-310-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875']
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /Users/wesley/opt/miniconda3/envs/web-ui/bin/python (found version "3.10.6")
-- Found PythonLibs: /Users/wesley/opt/miniconda3/envs/web-ui/lib/libpython3.10.dylib (found version "3.10.6")
Generated: /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/onnx/onnx-ml.proto
CMake Error at CMakeLists.txt:299 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:330 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 332, in <module>
setuptools.setup(
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 223, in run
self.run_command("cmake_build")
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 209, in run
subprocess.check_call(cmake_args)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/homebrew/bin/cmake', '-DPYTHON_INCLUDE_DIR=/Users/wesley/opt/miniconda3/envs/web-ui/include/python3.10', '-DPYTHON_EXECUTABLE=/Users/wesley/opt/miniconda3/envs/web-ui/bin/python', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-310-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for onnx
Running setup.py clean for onnx
Failed to build onnx
Installing collected packages: yapf, tokenizers, tensorboard-plugin-wit, rfc3986, resize-right, pytz, pydub, pyasn1, mpmath, lmdb, lark, fonts, font-roboto, flatbuffers, ffmpy, antlr4-python3-runtime, addict, zipp, websockets, urllib3, uc-micro-py, tqdm, tifffile, tensorboard-data-server, sympy, smmap, six, scipy, rsa, regex, pyyaml, PyWavelets, pyrsistent, pyparsing, pyDeprecate, pycryptodome, pycparser, pyasn1-modules, protobuf, Pillow, piexif, orjson, opencv-python, oauthlib, networkx, multidict, mdurl, MarkupSafe, markdown, llvmlite, kiwisolver, inflection, idna, humanfriendly, h11, future, fsspec, frozenlist, fonttools, filelock, einops, cycler, contourpy, click, charset-normalizer, chardet, cachetools, bcrypt, attrs, async-timeout, absl-py, yarl, werkzeug, uvicorn, torchdiffeq, requests, python-multipart, python-dateutil, packaging, onnx, omegaconf, numba, markdown-it-py, linkify-it-py, jsonschema, jinja2, importlib-metadata, imageio, grpcio, google-auth, gitdb, fairscale, coloredlogs, cffi, aiosignal, torchvision, torchmetrics, scikit-image, requests-oauthlib, pynacl, pandas, onnxruntime, mdit-py-plugins, matplotlib, kornia, jsonmerge, huggingface-hub, httpcore, GitPython, cryptography, aiohttp, transformers, timm, paramiko, invisible-watermark, httpx, google-auth-oauthlib, filterpy, diffusers, clean-fid, tensorboard, tb-nightly, gradio, facexlib, pytorch_lightning, basicsr, gfpgan, realesrgan
Attempting uninstall: idna
Found existing installation: idna 3.4
Uninstalling idna-3.4:
Successfully uninstalled idna-3.4
Running setup.py install for onnx ... error
error: subprocess-exited-with-error
× Running setup.py install for onnx did not run successfully.
│ exit code: 1
╰─> [69 lines of output]
fatal: not a git repository (or any of the parent directories): .git
/Users/wesley/opt/miniconda3/envs/web-ui/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(
running install
/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running create_version
running cmake_build
Using cmake args: ['/opt/homebrew/bin/cmake', '-DPYTHON_INCLUDE_DIR=/Users/wesley/opt/miniconda3/envs/web-ui/include/python3.10', '-DPYTHON_EXECUTABLE=/Users/wesley/opt/miniconda3/envs/web-ui/bin/python', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-310-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875']
Generated: /private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/onnx/onnx-ml.proto
CMake Error at CMakeLists.txt:299 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:330 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
See also "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/.setuptools-cmake-build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 332, in <module>
setuptools.setup(
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/command/install.py", line 698, in run
self.run_command('build')
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 223, in run
self.run_command("cmake_build")
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875/setup.py", line 209, in run
subprocess.check_call(cmake_args)
File "/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/homebrew/bin/cmake', '-DPYTHON_INCLUDE_DIR=/Users/wesley/opt/miniconda3/envs/web-ui/include/python3.10', '-DPYTHON_EXECUTABLE=/Users/wesley/opt/miniconda3/envs/web-ui/bin/python', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-310-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/_c/wd0r0w017lx_84wcssfhc4_80000gn/T/pip-install-_q974tif/onnx_58bc40ea7c0e483aae92af7f9edea875']' returned non-zero exit status 1.
[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.
╰─> onnx
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install skimage
Collecting skimage
Downloading skimage-0.0.tar.gz (757 bytes)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
*** Please install the `scikit-image` package (instead of `skimage`) ***
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install scikit-image
Collecting scikit-image
Using cached scikit_image-0.19.3-cp310-cp310-macosx_12_0_arm64.whl (12.5 MB)
Requirement already satisfied: networkx>=2.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (2.8.8)
Requirement already satisfied: pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (9.3.0)
Requirement already satisfied: PyWavelets>=1.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (1.4.1)
Collecting imageio>=2.4.1
Using cached imageio-2.22.4-py3-none-any.whl (3.4 MB)
Requirement already satisfied: tifffile>=2019.7.26 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (2022.10.10)
Requirement already satisfied: packaging>=20.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (21.3)
Requirement already satisfied: numpy>=1.17.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (1.23.4)
Requirement already satisfied: scipy>=1.4.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image) (1.9.3)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from packaging>=20.0->scikit-image) (3.0.9)
Installing collected packages: imageio, scikit-image
Successfully installed imageio-2.22.4 scikit-image-0.19.3
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install jsonmerge
Collecting jsonmerge
Using cached jsonmerge-1.9.0-py3-none-any.whl
Collecting jsonschema>2.4.0
Using cached jsonschema-4.17.0-py3-none-any.whl (83 kB)
Requirement already satisfied: attrs>=17.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from jsonschema>2.4.0->jsonmerge) (22.1.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from jsonschema>2.4.0->jsonmerge) (0.19.2)
Installing collected packages: jsonschema, jsonmerge
Successfully installed jsonmerge-1.9.0 jsonschema-4.17.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install torchvision
Collecting torchvision
Using cached torchvision-0.14.0-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
Requirement already satisfied: requests in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision) (2.25.1)
Requirement already satisfied: numpy in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision) (1.23.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision) (9.3.0)
Requirement already satisfied: torch in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision) (1.13.0)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision) (4.4.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision) (4.0.0)
Installing collected packages: torchvision
Successfully installed torchvision-0.14.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install cleanfid
ERROR: Could not find a version that satisfies the requirement cleanfid (from versions: none)
ERROR: No matching distribution found for cleanfid
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install clean-fid
Collecting clean-fid
Using cached clean_fid-0.1.34-py3-none-any.whl (26 kB)
Requirement already satisfied: tqdm>=4.28.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (4.64.1)
Requirement already satisfied: numpy>=1.14.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (1.23.4)
Requirement already satisfied: scipy>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (1.9.3)
Requirement already satisfied: torch in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (1.13.0)
Requirement already satisfied: pillow>=8.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (9.3.0)
Requirement already satisfied: torchvision in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (0.14.0)
Requirement already satisfied: requests==2.25.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from clean-fid) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests==2.25.1->clean-fid) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests==2.25.1->clean-fid) (2022.9.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests==2.25.1->clean-fid) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests==2.25.1->clean-fid) (4.0.0)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch->clean-fid) (4.4.0)
Installing collected packages: clean-fid
Successfully installed clean-fid-0.1.34
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install clip
Collecting clip
Downloading clip-0.2.0.tar.gz (5.5 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: clip
Building wheel for clip (setup.py) ... done
Created wheel for clip: filename=clip-0.2.0-py3-none-any.whl size=6989 sha256=7e827d9ea04f739fcc3732fb02766fcdc0ea143bd17fc4a221b3d8c4dd168851
Stored in directory: /Users/wesley/Library/Caches/pip/wheels/7f/5c/e6/2c0fdb453a3569188864b17e9676bea8b3b7e160c037117869
Successfully built clip
Installing collected packages: clip
Successfully installed clip-0.2.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install gradio
Collecting gradio
Using cached gradio-3.9-py3-none-any.whl (11.6 MB)
Requirement already satisfied: uvicorn in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.19.0)
Collecting matplotlib
Using cached matplotlib-3.6.2-cp310-cp310-macosx_11_0_arm64.whl (7.2 MB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting httpx
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Requirement already satisfied: pillow in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (9.3.0)
Requirement already satisfied: pydantic in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (1.10.2)
Requirement already satisfied: numpy in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (1.23.4)
Requirement already satisfied: orjson in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (3.8.1)
Collecting pandas
Using cached pandas-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (10.8 MB)
Requirement already satisfied: ffmpy in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.3.0)
Collecting markdown-it-py[linkify,plugins]
Using cached markdown_it_py-2.1.0-py3-none-any.whl (84 kB)
Requirement already satisfied: pydub in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.25.1)
Collecting aiohttp
Using cached aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
Collecting paramiko
Using cached paramiko-2.12.0-py2.py3-none-any.whl (213 kB)
Requirement already satisfied: requests in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (2.25.1)
Requirement already satisfied: fsspec in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (2022.10.0)
Requirement already satisfied: h11<0.13,>=0.11 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.12.0)
Requirement already satisfied: websockets in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (10.4)
Requirement already satisfied: python-multipart in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.0.5)
Requirement already satisfied: pyyaml in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (6.0)
Requirement already satisfied: pycryptodome in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (3.15.0)
Requirement already satisfied: fastapi in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from gradio) (0.86.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (6.0.2)
Requirement already satisfied: frozenlist>=1.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (22.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (1.8.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (4.0.2)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp->gradio) (2.1.1)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Requirement already satisfied: starlette==0.20.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fastapi->gradio) (0.20.4)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from starlette==0.20.4->fastapi->gradio) (3.6.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pydantic->gradio) (4.4.0)
Collecting httpcore<0.16.0,>=0.15.0
Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Requirement already satisfied: sniffio in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from httpx->gradio) (1.3.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from httpx->gradio) (1.5.0)
Requirement already satisfied: certifi in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from httpx->gradio) (2022.9.24)
Requirement already satisfied: MarkupSafe>=2.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from jinja2->gradio) (2.1.1)
Requirement already satisfied: mdurl~=0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (0.1.2)
Collecting linkify-it-py~=1.0
Using cached linkify_it_py-1.0.3-py3-none-any.whl (19 kB)
Collecting mdit-py-plugins
Using cached mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)
Requirement already satisfied: pyparsing>=2.2.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (3.0.9)
Requirement already satisfied: fonttools>=4.22.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (4.38.0)
Requirement already satisfied: python-dateutil>=2.7 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (2.8.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (1.4.4)
Requirement already satisfied: packaging>=20.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (21.3)
Requirement already satisfied: cycler>=0.10 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (0.11.0)
Requirement already satisfied: contourpy>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from matplotlib->gradio) (1.0.6)
Requirement already satisfied: pytz>=2020.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pandas->gradio) (2022.6)
Collecting cryptography>=2.5
Using cached cryptography-38.0.3-cp36-abi3-macosx_10_10_universal2.whl (5.4 MB)
Requirement already satisfied: six in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from paramiko->gradio) (1.16.0)
Requirement already satisfied: bcrypt>=3.1.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from paramiko->gradio) (4.0.1)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.5.0-cp36-abi3-macosx_10_10_universal2.whl (349 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->gradio) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->gradio) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->gradio) (4.0.0)
Requirement already satisfied: click>=7.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from uvicorn->gradio) (8.1.3)
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp310-cp310-macosx_11_0_arm64.whl (174 kB)
Requirement already satisfied: uc-micro-py in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from linkify-it-py~=1.0->markdown-it-py[linkify,plugins]->gradio) (1.0.1)
Requirement already satisfied: pycparser in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.5->paramiko->gradio) (2.21)
Installing collected packages: markdown-it-py, linkify-it-py, jinja2, cffi, aiosignal, pynacl, pandas, mdit-py-plugins, matplotlib, httpcore, cryptography, aiohttp, paramiko, httpx, gradio
Successfully installed aiohttp-3.8.3 aiosignal-1.2.0 cffi-1.15.1 cryptography-38.0.3 gradio-3.9 httpcore-0.15.0 httpx-0.23.0 jinja2-3.1.2 linkify-it-py-1.0.3 markdown-it-py-2.1.0 matplotlib-3.6.2 mdit-py-plugins-0.3.1 pandas-1.5.1 paramiko-2.12.0 pynacl-1.5.0
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install omegaconf
Collecting omegaconf
Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB)
Requirement already satisfied: PyYAML>=5.1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from omegaconf) (6.0)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from omegaconf) (4.9.3)
Installing collected packages: omegaconf
Successfully installed omegaconf-2.2.3
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install lpips
Collecting lpips
Downloading lpips-0.1.4-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.8/53.8 kB 1.0 MB/s eta 0:00:00
Requirement already satisfied: tqdm>=4.28.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from lpips) (4.64.1)
Requirement already satisfied: scipy>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from lpips) (1.9.3)
Requirement already satisfied: torchvision>=0.2.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from lpips) (0.14.0)
Requirement already satisfied: numpy>=1.14.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from lpips) (1.23.4)
Requirement already satisfied: torch>=0.4.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from lpips) (1.13.0)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch>=0.4.0->lpips) (4.4.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision>=0.2.1->lpips) (9.3.0)
Requirement already satisfied: requests in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torchvision>=0.2.1->lpips) (2.25.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips) (1.26.12)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->torchvision>=0.2.1->lpips) (2022.9.24)
Installing collected packages: lpips
Successfully installed lpips-0.1.4
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install basicsr.version
ERROR: Could not find a version that satisfies the requirement basicsr.version (from versions: none)
ERROR: No matching distribution found for basicsr.version
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install basicsr
Collecting basicsr
Using cached basicsr-1.4.2-py3-none-any.whl
Requirement already satisfied: yapf in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (0.32.0)
Requirement already satisfied: requests in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (2.25.1)
Requirement already satisfied: opencv-python in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (4.6.0.66)
Requirement already satisfied: numpy>=1.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (1.23.4)
Requirement already satisfied: Pillow in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (9.3.0)
Requirement already satisfied: lmdb in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (1.3.0)
Collecting tb-nightly
Using cached tb_nightly-2.11.0a20221107-py3-none-any.whl (6.0 MB)
Requirement already satisfied: scipy in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (1.9.3)
Requirement already satisfied: pyyaml in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (6.0)
Requirement already satisfied: tqdm in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (4.64.1)
Requirement already satisfied: future in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (0.18.2)
Requirement already satisfied: torch>=1.7 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (1.13.0)
Requirement already satisfied: scikit-image in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (0.19.3)
Requirement already satisfied: addict in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (2.4.0)
Requirement already satisfied: torchvision in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from basicsr) (0.14.0)
Requirement already satisfied: typing-extensions in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from torch>=1.7->basicsr) (4.4.0)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr) (2022.9.24)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->basicsr) (1.26.12)
Requirement already satisfied: imageio>=2.4.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr) (2.22.4)
Requirement already satisfied: tifffile>=2019.7.26 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr) (2022.10.10)
Requirement already satisfied: PyWavelets>=1.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr) (1.4.1)
Requirement already satisfied: packaging>=20.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr) (21.3)
Requirement already satisfied: networkx>=2.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from scikit-image->basicsr) (2.8.8)
Requirement already satisfied: absl-py>=0.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (1.3.0)
Requirement already satisfied: werkzeug>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (2.2.2)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (1.8.1)
Collecting grpcio>=1.24.3
Using cached grpcio-1.50.0-cp310-cp310-macosx_11_0_arm64.whl
Requirement already satisfied: wheel>=0.26 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (0.37.1)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting google-auth<3,>=1.6.3
Using cached google_auth-2.14.0-py2.py3-none-any.whl (175 kB)
Requirement already satisfied: markdown>=2.6.8 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (3.4.1)
Requirement already satisfied: protobuf<4,>=3.9.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (3.19.6)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (0.6.1)
Requirement already satisfied: setuptools>=41.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tb-nightly->basicsr) (65.5.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr) (0.2.8)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr) (5.2.0)
Requirement already satisfied: six>=1.9.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->basicsr) (4.9)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from packaging>=20.0->scikit-image->basicsr) (3.0.9)
Requirement already satisfied: MarkupSafe>=2.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from werkzeug>=1.0.1->tb-nightly->basicsr) (2.1.1)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->basicsr) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tb-nightly->basicsr) (3.2.2)
Installing collected packages: grpcio, requests-oauthlib, google-auth, google-auth-oauthlib, tb-nightly, basicsr
Successfully installed basicsr-1.4.2 google-auth-2.14.0 google-auth-oauthlib-0.4.6 grpcio-1.50.0 requests-oauthlib-1.3.1 tb-nightly-2.11.0a20221107
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install pytorch_lightning
Collecting pytorch_lightning
Using cached pytorch_lightning-1.8.0.post1-py3-none-any.whl (796 kB)
Requirement already satisfied: tqdm>=4.57.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (4.64.1)
Requirement already satisfied: packaging>=17.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (21.3)
Requirement already satisfied: numpy>=1.17.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (1.23.4)
Requirement already satisfied: fsspec[http]>2021.06.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (2022.10.0)
Requirement already satisfied: typing-extensions>=4.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (4.4.0)
Requirement already satisfied: PyYAML>=5.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (6.0)
Collecting torchmetrics>=0.7.0
Using cached torchmetrics-0.10.2-py3-none-any.whl (529 kB)
Collecting lightning-utilities==0.3.*
Using cached lightning_utilities-0.3.0-py3-none-any.whl (15 kB)
Requirement already satisfied: torch>=1.9.* in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pytorch_lightning) (1.13.0)
Collecting tensorboard>=2.9.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting lightning-lite==1.8.0.post1
Using cached lightning_lite-1.8.0.post1-py3-none-any.whl (136 kB)
Collecting fire
Using cached fire-0.4.0-py2.py3-none-any.whl
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fsspec[http]>2021.06.0->pytorch_lightning) (3.8.3)
Requirement already satisfied: requests in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from fsspec[http]>2021.06.0->pytorch_lightning) (2.25.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from packaging>=17.0->pytorch_lightning) (3.0.9)
Requirement already satisfied: grpcio>=1.24.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (1.50.0)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (0.6.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (0.4.6)
Requirement already satisfied: werkzeug>=1.0.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (2.2.2)
Requirement already satisfied: markdown>=2.6.8 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (3.4.1)
Requirement already satisfied: setuptools>=41.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (65.5.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (2.14.0)
Requirement already satisfied: absl-py>=0.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (1.3.0)
Requirement already satisfied: protobuf<3.20,>=3.9.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (3.19.6)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (1.8.1)
Requirement already satisfied: wheel>=0.26 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from tensorboard>=2.9.1->pytorch_lightning) (0.37.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (2.1.1)
Requirement already satisfied: frozenlist>=1.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (1.3.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (1.8.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (4.0.2)
Requirement already satisfied: attrs>=17.3.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (22.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (6.0.2)
Requirement already satisfied: aiosignal>=1.1.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>2021.06.0->pytorch_lightning) (1.2.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning) (0.2.8)
Requirement already satisfied: six>=1.9.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning) (4.9)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning) (5.2.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning) (1.3.1)
Requirement already satisfied: idna<3,>=2.5 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->fsspec[http]>2021.06.0->pytorch_lightning) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->fsspec[http]>2021.06.0->pytorch_lightning) (1.26.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->fsspec[http]>2021.06.0->pytorch_lightning) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests->fsspec[http]>2021.06.0->pytorch_lightning) (2022.9.24)
Requirement already satisfied: MarkupSafe>=2.1.1 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard>=2.9.1->pytorch_lightning) (2.1.1)
Collecting termcolor
Using cached termcolor-2.1.0-py3-none-any.whl (5.8 kB)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in /Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning) (3.2.2)
Installing collected packages: termcolor, torchmetrics, fire, lightning-utilities, tensorboard, lightning-lite, pytorch_lightning
Successfully installed fire-0.4.0 lightning-lite-1.8.0.post1 lightning-utilities-0.3.0 pytorch_lightning-1.8.0.post1 tensorboard-2.10.1 termcolor-2.1.0 torchmetrics-0.10.2
(web-ui) Wesleys-MacBook-Air:bin wesley$ ./pip install rank_zero_only
ERROR: Could not find a version that satisfies the requirement rank_zero_only (from versions: none)
ERROR: No matching distribution found for rank_zero_only
(web-ui) Wesleys-MacBook-Air:bin wesley$ ls
2to3 lzcat reset
2to3-3.10 lzcmp skivi
bunzip2 lzdiff sqlite3
bzcat lzegrep sqlite3_analyzer
bzcmp lzfgrep tabs
bzdiff lzgrep tclsh
bzegrep lzless tclsh8.6
bzfgrep lzma tensorboard
bzgrep lzmadec tic
bzip2 lzmainfo tiff2fsspec
bzip2recover lzmore tiffcomment
bzless markdown-it tifffile
bzmore markdown_py toe
c_rehash ncursesw6-config torchrun
captoinfo normalizer tput
chardetect openssl tqdm
clear pasteurize tset
clip pip ttx
convert-caffe2-to-onnx pip3 unlzma
convert-onnx-to-caffe2 pydoc unxz
f2py pydoc3 uvicorn
f2py3 pydoc3.10 wheel
f2py3.10 pyftmerge wish
fonttools pyftsubset wish8.6
futurize pygrun xz
google-oauthlib-tool pyrsa-decrypt xzcat
gradio pyrsa-encrypt xzcmp
httpx pyrsa-keygen xzdec
humanfriendly pyrsa-priv2pub xzdiff
idle3 pyrsa-sign xzegrep
idle3.10 pyrsa-verify xzfgrep
imageio_download_bin python xzgrep
imageio_remove_bin python3 xzless
infocmp python3-config xzmore
infotocap python3.1 yapf
isympy python3.10 yapf-diff
jsonschema python3.10-config
lsm2bin requirements.txt
(web-ui) Wesleys-MacBook-Air:bin wesley$```
No idea how to resolve the pip install rank_zero_only
ERROR: Could not find a version that satisfies the requirement rank_zero_only (from versions: none)
ERROR: No matching distribution found for rank_zero_only
All I could find searching for it was something about fixing the colab which I don't understand.
[Bug]: no longer works in google colab #4118
Alternatively, if I could make sure that I was doing the git checkout correctly, finding the right commit number and not somehow undoing it when trying to launch I would be find with guidance on that too.
It was also suggested that I try downgrading. Here is the current state of that effort.
git checkout 3dc9a43f7eb779c41cd0c61e35aedc4c5635c338
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ git checkout 3dc9a43f7eb779c41cd0c61e35aedc4c5635c338
HEAD is now at 3dc9a43 Merge pull request #3898 from R-N/lr-comma
I tried to run it with,
python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
It produced the same error as before.
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
Traceback (most recent call last):
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 12, in
from modules import devices, sd_samplers, upscaler
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 10, in
from modules import prompt_parser, devices, processing, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/processing.py", line 14, in
import modules.sd_hijack
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack.py", line 10, in
import modules.textual_inversion.textual_inversion
File "/Users/wesley/Documents/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/Users/wesley/Documents/stable-diffusion-webui/modules/shared.py", line 14, in
import modules.sd_models
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_models.py", line 13, in
from modules.sd_hijack_inpainting import do_inpainting_hijack, should_hijack_inpainting
File "/Users/wesley/Documents/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 6, in
import ldm.models.diffusion.ddpm
File "/Users/wesley/Documents/stable-diffusion-webui/repositories/stable-diffusion/ldm/models/diffusion/ddpm.py", line 19, in
from pytorch_lightning.utilities.distributed import rank_zero_only
ImportError: cannot import name 'rank_zero_only' from 'pytorch_lightning.utilities.distributed' (/Users/wesley/opt/miniconda3/envs/web-ui/lib/python3.10/site-packages/pytorch_lightning/utilities/distributed.py)
And what are you using to run it at this point? Or am I doing something wrong or missing something?
@swankwc From a quick google of "ImportError: cannot import name 'rank_zero_only'", there appear to be a number of 'solutions'.
The function was moved to a new script with a different name . Try to import it as :
from pytorch_lightning.utilities.rank_zero import rank_zero_only
pytorch_lightning has recently released a new version which will throw this error (version 1.8.0.post1 released on November 2nd 2022).
https://pypi.org/project/pytorch-lightning/#history
Just install an older version of pytorch_lightning and it will work.
In my system, I ran "pip install pytorch-lightning==1.6.5", higher versions may work as well, you can check them out by clicking on the link provided above and then clicking on release history.
While either will likely work, personally I would suggest neither of them being a good way forward. Using older code isn't a good solution unless you know that you're going to perfectly match the environment that allows that code to work, and that's going to be harder for most than just making the latest code work.
I would suggest basically setting up your conda environment and webui code again from scratch, not manually pip installing packages 1 by 1 as you're almost guaranteed to get a version conflict that way, using pip install - r requirements.txt
when needed, as well as adding it into your run script after the git pull rebase as described earlier so that you never have to manually think about fixing dependencies again, and having it 'just work'.
Edit: also, can you please edit your 'full logs' comment above to wrap the entire thing in the 'triple backticks' (3 at the very start, 3 at the very end) to make it a code block. That will fix how it's rendering here and make it much nicer:
@swankwc From a quick google of "ImportError: cannot import name 'rank_zero_only'", there appear to be a number of 'solutions'.
The function was moved to a new script with a different name . Try to import it as : from pytorch_lightning.utilities.rank_zero import rank_zero_only
pytorch_lightning has recently released a new version which will throw this error (version 1.8.0.post1 released on November 2nd 2022). https://pypi.org/project/pytorch-lightning/#history Just install an older version of pytorch_lightning and it will work. In my system, I ran "pip install pytorch-lightning==1.6.5", higher versions may work as well, you can check them out by clicking on the link provided above and then clicking on release history.
While either will likely work, personally I would suggest neither of them being a good way forward. Using older code isn't a good solution unless you know that you're going to perfectly match the environment that allows that code to work, and that's going to be harder for most than just making the latest code work.
I would suggest basically setting up your conda environment and webui code again from scratch, not manually pip installing packages 1 by 1 as you're almost guaranteed to get a version conflict that way, using
pip install - r requirements.txt
when needed, as well as adding it into your run script after the git pull rebase as described earlier so that you never have to manually think about fixing dependencies again, and having it 'just work'.Edit: also, can you please edit your 'full logs' comment above to wrap the entire thing in the 'triple backticks' (3 at the very start, 3 at the very end) to make it a code block. That will fix how it's rendering here and make it much nicer: ```
I did all of that and then decided figured out I can pip list. It's saying fastapi can't be found after running the mac run script, but that it is running in the env? Unless I misunderstand. I'm not sure what to make of that. I tried adding fastapi to the requirements file and didn't work either.
from fastapi import FastAPI
ModuleNotFoundError: No module named 'fastapi'
(base) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pipenv shell
-bash: pipenv: command not found
(base) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip list
Package Version
...........................................
fastapi 0.86.0```
Doesn't the script do something like conda activate web-ui
first? That'll be setting the environment where the python packages are installed to/accessible from. So you probably need to run that in your shell first, then do the install/list/etc.
Doesn't the script do something like
conda activate web-ui
first? That'll be setting the environment where the python packages are installed to/accessible from. So you probably need to run that in your shell first, then do the install/list/etc.
It doesn't always actually activate the env. Even though it does have conda activate web-ui near the top. This same thing happens when I manually activate it before running the script or manually run lines from the script. I did comment out the thing at the bottom which deactivates the script, it stays on now. However, I'm still getting modules from the requirement lists (I've switched back and forth between the regular and the versions one) the same as before.
File "/Users/wesley/Documents/stable-diffusion-webui/webui.py", line 10, in <module>
from modules.paths import script_path
File "/Users/wesley/Documents/stable-diffusion-webui/modules/paths.py", line 4, in <module>
import modules.safe
File "/Users/wesley/Documents/stable-diffusion-webui/modules/safe.py", line 9, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ ```
As you can see torch both is and isn't there.
```(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ pip list
Package Version
----------------------- ---------------
absl-py 1.3.0
accelerate 0.13.2
addict 2.4.0
aiohttp 3.8.3
aiosignal 1.2.0
altair 4.2.0
analytics-python 1.4.0
antlr4-python3-runtime 4.9.3
anyio 3.6.2
asgiref 3.5.2
async-timeout 4.0.2
attrs 22.1.0
backoff 1.10.0
basicsr 1.4.2
bcrypt 4.0.1
beautifulsoup4 4.11.1
blinker 1.5
Brotli 1.0.9
cachetools 5.2.0
certifi 2022.9.24
cffi 1.15.1
chardet 4.0.0
charset-normalizer 2.1.1
clean-fid 0.1.29
click 8.1.3
clip 1.0
clip-anytorch 2.5.0
cmake 3.24.3
coloredlogs 15.0.1
commonmark 0.9.1
contourpy 1.0.5
cryptography 38.0.3
cycler 0.11.0
decorator 4.4.2
diffusers 0.3.0
distlib 0.3.6
Django 4.1.3
docker-pycreds 0.4.0
einops 0.4.1
entrypoints 0.4
et-xmlfile 1.1.0
facexlib 0.2.5
fairscale 0.4.9
fastapi 0.86.0
ffmpeg-python 0.2.0
ffmpy 0.3.0
filelock 3.8.0
filterpy 1.4.5
fire 0.4.0
flatbuffers 22.10.26
font-roboto 0.0.1
fonts 0.0.3
fonttools 4.38.0
frozenlist 1.3.1
fsspec 2022.10.0
ftfy 6.1.1
functorch 1.13.0
future 0.18.2
gdown 4.5.3
gfpgan 1.3.8
gitdb 4.0.9
GitPython 3.1.27
google-auth 2.14.0
google-auth-oauthlib 0.4.6
gradio 3.5
grpcio 1.50.0
h11 0.12.0
httpcore 0.15.0
httpx 0.23.0
huggingface-hub 0.10.1
humanfriendly 10.0
idna 2.10
image 1.5.33
imageio 2.22.2
imageio-ffmpeg 0.4.7
importlib-metadata 5.0.0
inflection 0.5.1
invisible-watermark 0.1.5
Jinja2 3.1.2
jiwer 2.5.1
jsonmerge 1.8.0
jsonschema 4.16.0
k-diffusion 0.0.10
kiwisolver 1.4.4
kornia 0.6.7
lark 1.1.2
Levenshtein 0.20.2
lightning-lite 1.8.0.post1
lightning-utilities 0.3.0
linkify-it-py 1.0.3
llvmlite 0.39.1
lmdb 1.3.0
Markdown 3.4.1
markdown-it-py 2.1.0
MarkupSafe 2.1.1
matplotlib 3.6.1
mdit-py-plugins 0.3.1
mdurl 0.1.2
monotonic 1.6
more-itertools 9.0.0
moviepy 1.0.3
mpmath 1.2.1
multidict 6.0.2
mutagen 1.46.0
networkx 2.8.8
npm 0.1.1
numba 0.56.3
numpy 1.23.3
oauthlib 3.2.2
omegaconf 2.2.3
onnx 1.12.0
onnxruntime 1.13.1
open-clip-torch 2.0.2
openai 0.25.0
opencv-python 4.6.0.66
openpyxl 3.0.10
optional-django 0.1.0
orjson 3.8.1
packaging 21.3
pandas 1.5.1
pandas-stubs 1.5.1.221024
paramiko 2.11.0
pathtools 0.1.2
piexif 1.1.3
Pillow 9.2.0
pip 22.3.1
pipenv 2022.1.8
platformdirs 2.5.2
proglog 0.1.10
promise 2.3
protobuf 3.19.4
psutil 5.9.3
pyarrow 9.0.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
pycryptodome 3.15.0
pycryptodomex 3.15.0
pydantic 1.10.2
pydeck 0.8.0b4
pyDeprecate 0.3.2
pydub 0.25.1
Pygments 2.13.0
Pympler 1.0.1
PyNaCl 1.5.0
pyparsing 3.0.9
pyrsistent 0.18.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.5
pytorch-lightning 1.7.6
pytube 12.1.0
pytz 2022.5
pytz-deprecation-shim 0.1.0.post0
PyWavelets 1.4.1
pywhisper 1.0.5
PyYAML 6.0
rapidfuzz 2.11.1
realesrgan 0.3.0
regex 2022.9.13
requests 2.25.1
requests-oauthlib 1.3.1
resize-right 0.0.2
rfc3986 1.5.0
rich 12.6.0
rsa 4.9
scikit-image 0.19.2
scipy 1.9.3
scunet 1.1.0
semantic-version 2.10.0
semver 2.13.0
sentry-sdk 1.10.1
setproctitle 1.3.2
setuptools 65.4.1
setuptools-rust 1.5.2
shortuuid 1.0.9
six 1.16.0
smmap 5.0.0
sniffio 1.3.0
soupsieve 2.3.2.post1
sqlparse 0.4.3
starlette 0.20.4
streamlit 1.13.0
sympy 1.11.1
tb-nightly 2.11.0a20221103
tensorboard 2.10.1
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
termcolor 2.1.0
tifffile 2022.10.10
timm 0.6.7
tokenizers 0.12.1
toml 0.10.2
toolz 0.12.0
torch 1.13.0
torchaudio 0.13.0
torchdiffeq 0.2.3
torchmetrics 0.10.2
torchvision 0.13.1
tornado 6.2
tqdm 4.64.1
transformers 4.19.2
types-pytz 2022.6.0.1
typing_extensions 4.4.0
tzdata 2022.5
tzlocal 4.2
uc-micro-py 1.0.1
urllib3 1.26.12
uvicorn 0.19.0
validators 0.20.0
virtualenv 20.16.6
virtualenv-clone 0.5.7
wandb 0.13.5
wcwidth 0.2.5
websockets 10.3
Werkzeug 2.2.2
wheel 0.37.1
whisper 1.0
wordcloud 1.8.2.2
yapf 0.32.0
yarl 1.8.1
yt-dlp 2022.10.4
yt-whisper 1.0
zipp 3.9.0```
@swankwc So I just googled "ModuleNotFoundError: No module named 'torch'", and that lead me to this StackOverflow that seems to suggest that the package you want might be torchvision
and not torch
?
'Sanity checking' that, looking at the official docs for installing pytorch, it also mentions torchvision
:
So I wonder if you'll have any luck by adding that? Though looking in requirements.txt
, it isn't listed, so this might be a red herring.
Have you tried completely wiping out your entire conda
environment and installing again from requirements.txt
? It seems like that worked for @Gitterman69 in https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1305596037 (which also includes the process they followed that eventually got things working for them)
Looking at the original setup script, linked from the wiki page it seems to do this with
conda remove -n web-ui --all
conda create -n web-ui python=3.10
conda activate web-ui
It also seems to have the following manual pip install
steps, unsure if they're still needed, but you may find some answers there too?
# Install dependencies
pip install -r requirements.txt
pip install git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1
pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
pip install torch==1.12.1 torchvision==0.13.1
@swankwc So I just googled "ModuleNotFoundError: No module named 'torch'", and that lead me to this StackOverflow that seems to suggest that the package you want might be
torchvision
and nottorch
?'Sanity checking' that, looking at the official docs for installing pytorch, it also mentions
torchvision
:So I wonder if you'll have any luck by adding that? Though looking in
requirements.txt
, it isn't listed, so this might be a red herring.Have you tried completely wiping out your entire
conda
environment and installing again fromrequirements.txt
? It seems like that worked for @Gitterman69 in #4109 (comment) (which also includes the process they followed that eventually got things working for them)Looking at the original setup script, linked from the wiki page it seems to do this with
conda remove -n web-ui --all conda create -n web-ui python=3.10 conda activate web-ui
It also seems to have the following manual
pip install
steps, unsure if they're still needed, but you may find some answers there too?# Install dependencies pip install -r requirements.txt pip install git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 pip install torch==1.12.1 torchvision==0.13.1
The pip installs only shifted which error showed up. And yes I have cleaned my environment several times, deleted the entire thing and started over, and over and over again.
True.. At this stage i'm sort of out of ideas unfortunately. :(
True.. At this stage i'm sort of out of ideas unfortunately. :(
Thanks for all the ideas, I'll keep watching the updates and hopefully one of these days I'll figure it out.
@swankwc I have a new theory for you, based on this StackOverflow:
What do you see when you activate your conda environment, then run which -a pip
?
If it's only something like:
/opt/conda/bin/pip
And not something like:
/opt/conda/envs/web-ui/bin/pip
/opt/conda/bin/pip
Then you can likely fix it by either doing a conda install pip
then using pip
as normal, or using python -m pip install FOO
instead of using pip
directly.
@swankwc I have a new theory for you, based on this StackOverflow:
What do you see when you activate your conda environment, then run
which -a pip
?If it's only something like:
/opt/conda/bin/pip
And not something like:
/opt/conda/envs/web-ui/bin/pip /opt/conda/bin/pip
Then you can likely fix it by either doing a
conda install pip
then usingpip
as normal, or usingpython -m pip install FOO
instead of usingpip
directly.
This is what I'm looking at. I'm not sure what I'm looking at.
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ which -a pip
/opt/homebrew/Caskroom/miniforge/base/envs/web-ui/bin/pip
/opt/homebrew/Caskroom/miniforge/base/bin/pip
/opt/homebrew/Caskroom/miniforge/base/bin/pip
/Library/Frameworks/Python.framework/Versions/3.11/bin/pip
/opt/homebrew/bin/pip
I did a conda install pip and then used python -m, it looked like it wasn't going to work but then I changed my run script a tiny bit,
# This should not be needed since it's configured during installation, but might as well have it here.
conda env config vars set PYTORCH_ENABLE_MPS_FALLBACK=1
# Activate conda environment
conda activate web-ui
# Pull the latest changes from the repo
#git pull --rebase
python -m pip install -r requirements_versions.txt
# Run the web ui
python webui.py --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
# Deactivate conda environment
#conda deactivate```
In the end, I just ran it without the script but just the second to last line of the script.
```python webui.py --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@```
I didn't believe it when it worked so I double-checked ended it and started it again.
@0xdevalias thanks for not giving up on this and for all your help.
The fact you've got that many different installations of pip points to a very unstable environment containing multiple Python installations for stable-diffusion to install to.
As described in the wiki, you should follow this guide.
The fact you've got that many different installations of pip points to a very unstable environment containing multiple Python installations for stable-diffusion to install to.
As described in the wiki, you should follow this guide.
Any advice on how to do that without messing with the one it is now running on?
just start at zero and dont let it get super convoluted ;)
Sent from Proton Mail for iOS
On Wed, Nov 9, 2022 at 16:26, swankwc @.***> wrote:
The fact you've got that many different installations of pip points to a very unstable environment containing multiple Python installations for stable-diffusion to install to.
As described in the wiki, you should follow this guide.
Any advice on how to do that without messing with the one it is now running on?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
This is what I'm looking at. I'm not sure what I'm looking at.
(web-ui) Wesleys-MacBook-Air:stable-diffusion-webui wesley$ which -a pip /opt/homebrew/Caskroom/miniforge/base/envs/web-ui/bin/pip /opt/homebrew/Caskroom/miniforge/base/bin/pip /opt/homebrew/Caskroom/miniforge/base/bin/pip /Library/Frameworks/Python.framework/Versions/3.11/bin/pip /opt/homebrew/bin/pip
@swankc That's basically showing you all the versions of pip
you have installed, and the order in which they will preferenced when running the pip
command. You could run one of them by it's full path if you wanted to use it specifically. The part I was looking to see here was /opt/homebrew/Caskroom/miniforge/base/envs/web-ui/bin/pip
though, as that seems to align with the StackOverflow for being 'the right way' to make it stick properly in a conda
env.
I did a conda install pip and then used python -m, it looked like it wasn't going to work but then I changed my run script a tiny bit,
Curious, what made you think it wasn't going to work? And what was the specific change to the run script that made it work for you? Was it using requirements_versions.txt
rather than requirements.txt
?
python -m pip install -r requirements_versions.txt
In the end, I just ran it without the script but just the second to last line of the script.
python webui.py --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@
I didn't believe it when it worked so I double-checked ended it and started it again. @0xdevalias thanks for not giving up on this and for all your help.
Woo! Glad you were able to get it working again! :) Happy to help 🖤
Also, I noted that in the script you pasted above you'd commented out the git pull --rebase
. I'm sure you're aware, but without that it won't do any self-updates, so you won't be getting the latest improvements.
The fact you've got that many different installations of pip points to a very unstable environment containing multiple Python installations for stable-diffusion to install to.
@dylancl Ehh.... not necessarily tbh. Like I have this many in my env:
⇒ which -a pip
pip: aliased to noglob pip
/Users/devalias/.pyenv/versions/anaconda3-2022.05/envs/web-ui/bin/pip
/Users/devalias/.pyenv/shims/pip
/usr/local/bin/pip
Any advice on how to do that without messing with the one it is now running on?
@swankwc My /2c is that I don't think it actually looks too bad, and you probably don't really need to do anything much.
As described in the wiki, you should follow this guide.
Though from a quick skim, this answer looks pretty ok to follow.. so probably can't hurt too much.
@swankwc I think the fact that we have the 'bits and pieces' to get you to a working solution now means that it should be pretty easy to get back there. So maybe try the cleanup referenced above, and then maybe one last 'dance' through the 'set things up cleanly from scratch', and then you'll hopefully have things working, with minimal variations from the main setup scripts/process. Ultimately up to you but.
just start at zero and dont let it get super convoluted ;)
Not bad advice all in all. My general approach is to take the messy 'try everything' approach to figure out the initial solution, and then once I have that figured, go back and figure out what the minimal set of 'actual changes' was that I needed to make it work cleanly.
tried
./run_webui-mac.sh
and still getting error
ModuleNotFoundError: No module named 'clip'
@peterw Did you manage to get your setup working again in the end?
Will be monitoring this thread, please someone post when the update has been fixed and we can update SD again.
@RCPTMOE Did you manage to get your setup working again in the end?
Is there an existing issue for this?
What happened?
No longer able to start local server on M1 Mac.
Steps to reproduce the problem
Run in (MAC) terminal:
cd ~/Documents/stable-diffusion-webui ./run_webui_mac.sh
What should have happened?
Server should start
Instead get errors:
*MacBook-Pro ~ % cd ~/Documents/stable-diffusion-webui ./run_webui_mac.sh To make your changes take effect please reactivate your environment WARNING: overwriting environment variables set in the machine overwriting variable PYTORCH_ENABLE_MPS_FALLBACK Already up to date. Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled Traceback (most recent call last): File "/Users/**/Documents/stable-diffusion-webui/webui.py", line 12, in
from modules import devices, sd_samplers, upscaler, extensions
File "/Users/**/Documents/stable-diffusion-webui/modules/extensions.py", line 5, in
import git
ModuleNotFoundError: No module named 'git'
****@Andys-MacBook-Pro stable-diffusion-webui %
Commit where the problem happens
I can't launch the UI I can only time and date GMT 1300 1st Nov 2022
What platforms do you use to access UI ?
MacOS
What browsers do you use to access the UI ?
Apple Safari
Command Line Arguments
No response
Additional information, context and logs
Apologies if this is too vague.