stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: No longer able to start local server on M1 Mac.
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
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
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.
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
- add them to your run_webui_mac.sh as in https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4109#issuecomment-1298711749, 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
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