stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Couldn't install gfpgan.
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Installation on Apple Silicon After following the tutorial, I failed at the last step. when I run the webui-user.sh I got the below error and can't go any further. tried to delete everything and start again also not worked macOS Big Sur ,my pip version is 23.1,python version is 3.10.11 ,
Steps to reproduce the problem
- brew install cmake protobuf rust [email protected] git wget
- git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
- ./webui.sh
What should have happened?
first time installing this, following instructions on web no idea what is the problem,
Commit where the problem happens
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
What platforms do you use to access the UI ?
MacOS
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
no
List of extensions
no
Console logs
Python 3.10.11 (main, Apr 7 2023, 07:20:55) [Clang 13.0.0 (clang-1300.0.29.30)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing gfpgan
Traceback (most recent call last):
File "/Users/chenxiao/stable-diffusion-webui/launch.py", line 355, in <module>
prepare_environment()
File "/Users/chenxiao/stable-diffusion-webui/launch.py", line 263, in prepare_environment
run_pip(f"install {gfpgan_package}", "gfpgan")
File "/Users/chenxiao/stable-diffusion-webui/launch.py", line 129, in run_pip
return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
File "/Users/chenxiao/stable-diffusion-webui/launch.py", line 97, in run
raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "/Users/chenxiao/stable-diffusion-webui/venv/bin/python3.10" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-req-build-v3rrewxn
Resolved https://github.com/TencentARC/GFPGAN.git to commit 8d2447a2d918f8eba5a4a01463fd48e45126a379
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting basicsr>=1.4.2
Using cached basicsr-1.4.2.tar.gz (172 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting facexlib>=0.2.5
Using cached facexlib-0.3.0-py3-none-any.whl (59 kB)
Collecting lmdb
Using cached lmdb-1.4.1.tar.gz (881 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.24.2)
Collecting opencv-python
Using cached opencv_python-4.7.0.72-cp37-abi3-macosx_11_0_arm64.whl (32.6 MB)
Collecting pyyaml
Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)
Collecting scipy
Using cached scipy-1.10.1.tar.gz (42.4 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
stderr: Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-req-build-v3rrewxn
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
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
The Meson build system
Version: 1.1.0
Source dir: /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e
Build dir: /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e/.mesonpy-x1r5fl03/build
Build type: native build
Project name: SciPy
Project version: 1.10.1
C compiler for the host machine: cc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)")
C linker for the host machine: cc ld64 650.9
C++ compiler for the host machine: c++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)")
C++ linker for the host machine: c++ ld64 650.9
Cython compiler for the host machine: cython (cython 0.29.34)
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
Library m found: YES
../../meson.build:63:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"
A full log can be found at /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e/.mesonpy-x1r5fl03/build/meson-logs/meson-log.txt
+ meson setup --prefix=/opt/homebrew/Cellar/[email protected]/3.10.11/Frameworks/Python.framework/Versions/3.10 /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e /private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e/.mesonpy-x1r5fl03/build --native-file=/private/var/folders/jc/r61m51m571n1rhgv3p3grv880000gq/T/pip-install-epi7mm_2/scipy_e39dc8d0c58c4389b7c74c8a4846336e/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
[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.
[notice] A new release of pip is available: 23.0.1 -> 23.1
[notice] To update, run: pip install --upgrade pip
Additional information
Found the same issue posted on Stack Overflow https://stackoverflow.com/questions/75454280/error-couldnt-install-gfpgan-while-installing-stable-diffusion-web-ui-on-mac-m
看了其他的issue和报错信息,发现是Git下载仓库超时了,代理一下Git就行了
#只对github.com git config --global http.https://github.com.proxy http://127.0.0.1:10809
#取消代理 git config --global --unset http.https://github.com.proxy)
http://127.0.0.1:10809这段根据自己情况来
看了其他的issue和报错信息,发现是Git下载仓库超时了,代理一下Git就行了
#只对github.com git config --global http.https://github.com.proxy http://127.0.0.1:10809
#取消代理 git config --global --unset http.https://github.com.proxy)
我整个网络环境都是可以访问外网的还要在搭建一个代理吗
看了其他的issue和报错信息,发现是Git下载仓库超时了,代理一下Git就行了 #只对github.com git config --global http.https://github.com.proxy http://127.0.0.1:10809 #取消代理 git config --global --unset http.https://github.com.proxy) http://127.0.0.1:10809这段根据自己情况来
我整个网络环境都是可以访问外网的还要在搭建一个代理吗
除非是在国外,不然需要这样做
看了其他的issue和报错信息,发现是Git下载仓库超时了,代理一下Git就行了 #只对github.com git config --global http.https://github.com.proxy http://127.0.0.1:10809 #取消代理 git config --global --unset http.https://github.com.proxy) http://127.0.0.1:10809这段根据自己情况来
我整个网络环境都是可以访问外网的还要在搭建一个代理吗
除非是在国外,不然需要这样做
和网络没关系,系统问题,升级mac系统到13 然后安装xcode 命令:xcode-select --install 就解决了 估计就是缺少xcode导致的
I solved it by using the command 'xcode-select --install'.
不是的,我升级到13了,也安装了xcode,没啥用,还是一样的问题
brew install privoxy 挂梯子搞定
我也遇到了
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for basicsr
ERROR: Could not build wheels for gfpgan, basicsr, which is required to install pyproject.toml-based projects
the same error
browser: safari os: macOS Ventura 13.5 device: Macbook pro 16 inch 2019 Processor: 2,6 Ghz 6-core intel core i7 Graphics: intel UHD Graphics 630 xcode installed
Installing gfpgan
Traceback (most recent call last):
File "/Users/dimagolub/ai/stable-diffusion-webui/launch.py", line 39, in <module>
main()
File "/Users/dimagolub/ai/stable-diffusion-webui/launch.py", line 30, in main
prepare_environment()
File "/Users/dimagolub/ai/stable-diffusion-webui/modules/launch_utils.py", line 320, in prepare_environment
run_pip(f"install {gfpgan_package}", "gfpgan")
File "/Users/dimagolub/ai/stable-diffusion-webui/modules/launch_utils.py", line 136, in run_pip
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
File "/Users/dimagolub/ai/stable-diffusion-webui/modules/launch_utils.py", line 113, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install gfpgan.
Command: "/Users/dimagolub/ai/stable-diffusion-webui/venv/bin/python3.10" -m pip install https://github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip --prefer-binary
Error code: 1
stdout: Collecting https://github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip
Using cached https://github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip (6.0 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting basicsr>=1.4.2
Using cached basicsr-1.4.2.tar.gz (172 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: facexlib>=0.2.5 in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.3.0)
Requirement already satisfied: lmdb in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.4.1)
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.24.4)
Requirement already satisfied: opencv-python in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.8.0.74)
Requirement already satisfied: pyyaml in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (6.0.1)
Requirement already satisfied: scipy in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (1.11.1)
Requirement already satisfied: tb-nightly in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (2.14.0a20230807)
Requirement already satisfied: torch>=1.7 in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (2.0.1)
Requirement already satisfied: torchvision in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.15.2)
Requirement already satisfied: tqdm in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (4.65.0)
Requirement already satisfied: yapf in ./venv/lib/python3.10/site-packages (from gfpgan==1.3.5) (0.40.1)
Requirement already satisfied: addict in ./venv/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.4.0)
Requirement already satisfied: future in ./venv/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.18.3)
Requirement already satisfied: Pillow in ./venv/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (10.0.0)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (2.31.0)
Requirement already satisfied: scikit-image in ./venv/lib/python3.10/site-packages (from basicsr>=1.4.2->gfpgan==1.3.5) (0.21.0)
Requirement already satisfied: numba in ./venv/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (0.57.1)
Requirement already satisfied: filterpy in ./venv/lib/python3.10/site-packages (from facexlib>=0.2.5->gfpgan==1.3.5) (1.4.5)
Requirement already satisfied: sympy in ./venv/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (1.12)
Requirement already satisfied: filelock in ./venv/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (3.12.2)
Requirement already satisfied: networkx in ./venv/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (3.1)
Requirement already satisfied: jinja2 in ./venv/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (3.1.2)
Requirement already satisfied: typing-extensions in ./venv/lib/python3.10/site-packages (from torch>=1.7->gfpgan==1.3.5) (4.7.1)
Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.0.0)
Requirement already satisfied: grpcio>=1.48.2 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.56.2)
Requirement already satisfied: werkzeug>=1.0.1 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.3.6)
Requirement already satisfied: wheel>=0.26 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.41.1)
Requirement already satisfied: setuptools>=41.0.0 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (63.2.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (2.22.0)
Requirement already satisfied: markdown>=2.6.8 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (3.4.4)
Requirement already satisfied: protobuf>=3.19.6 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (4.23.4)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (0.7.1)
Requirement already satisfied: absl-py>=0.4 in ./venv/lib/python3.10/site-packages (from tb-nightly->gfpgan==1.3.5) (1.4.0)
Requirement already satisfied: importlib-metadata>=6.6.0 in ./venv/lib/python3.10/site-packages (from yapf->gfpgan==1.3.5) (6.8.0)
Requirement already satisfied: platformdirs>=3.5.1 in ./venv/lib/python3.10/site-packages (from yapf->gfpgan==1.3.5) (3.10.0)
Requirement already satisfied: tomli>=2.0.1 in ./venv/lib/python3.10/site-packages (from yapf->gfpgan==1.3.5) (2.0.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.3.0)
Requirement already satisfied: rsa<5,>=3.1.4 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (4.9)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (5.3.1)
Requirement already satisfied: six>=1.9.0 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (1.16.0)
Requirement already satisfied: urllib3<2.0 in ./venv/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (1.26.16)
Requirement already satisfied: requests-oauthlib>=0.7.0 in ./venv/lib/python3.10/site-packages (from google-auth-oauthlib<1.1,>=0.5->tb-nightly->gfpgan==1.3.5) (1.3.1)
Requirement already satisfied: zipp>=0.5 in ./venv/lib/python3.10/site-packages (from importlib-metadata>=6.6.0->yapf->gfpgan==1.3.5) (3.16.2)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (2023.7.22)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.10/site-packages (from requests->basicsr>=1.4.2->gfpgan==1.3.5) (3.2.0)
Requirement already satisfied: MarkupSafe>=2.1.1 in ./venv/lib/python3.10/site-packages (from werkzeug>=1.0.1->tb-nightly->gfpgan==1.3.5) (2.1.3)
Requirement already satisfied: matplotlib in ./venv/lib/python3.10/site-packages (from filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (3.7.2)
Requirement already satisfied: llvmlite<0.41,>=0.40.0dev0 in ./venv/lib/python3.10/site-packages (from numba->facexlib>=0.2.5->gfpgan==1.3.5) (0.40.1)
Requirement already satisfied: imageio>=2.27 in ./venv/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2.31.1)
Requirement already satisfied: tifffile>=2022.8.12 in ./venv/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (2023.7.18)
Requirement already satisfied: PyWavelets>=1.1.1 in ./venv/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (1.4.1)
Requirement already satisfied: lazy_loader>=0.2 in ./venv/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (0.3)
Requirement already satisfied: packaging>=21 in ./venv/lib/python3.10/site-packages (from scikit-image->basicsr>=1.4.2->gfpgan==1.3.5) (23.1)
Requirement already satisfied: mpmath>=0.19 in ./venv/lib/python3.10/site-packages (from sympy->torch>=1.7->gfpgan==1.3.5) (1.3.0)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in ./venv/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->gfpgan==1.3.5) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in ./venv/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tb-nightly->gfpgan==1.3.5) (3.2.2)
Requirement already satisfied: fonttools>=4.22.0 in ./venv/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (4.42.0)
Requirement already satisfied: python-dateutil>=2.7 in ./venv/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (2.8.2)
Requirement already satisfied: cycler>=0.10 in ./venv/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 ./venv/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 ./venv/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (1.1.0)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in ./venv/lib/python3.10/site-packages (from matplotlib->filterpy->facexlib>=0.2.5->gfpgan==1.3.5) (3.0.9)
Building wheels for collected packages: gfpgan, basicsr
Building wheel for gfpgan (setup.py): started
Building wheel for gfpgan (setup.py): finished with status 'error'
Running setup.py clean for gfpgan
Building wheel for basicsr (setup.py): started
Building wheel for basicsr (setup.py): finished with status 'error'
Running setup.py clean for basicsr
Failed to build gfpgan basicsr
Installing collected packages: basicsr, gfpgan
Running setup.py install for basicsr: started
Running setup.py install for basicsr: finished with status 'error'
stderr: error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/setup.py", line 84, in <module>
setup(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/Cython-3.0.0.dist-info' -> '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gfpgan
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/setup.py", line 84, in <module>
setup(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/Cython-3.0.0.dist-info' -> '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-req-build-mcarl2s0/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for gfpgan
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/setup.py", line 147, in <module>
setup(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/Cython-3.0.0.dist-info' -> '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for basicsr
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/setup.py", line 147, in <module>
setup(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/Cython-3.0.0.dist-info' -> '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for basicsr
error: subprocess-exited-with-error
× Running setup.py install for basicsr did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/setup.py", line 147, in <module>
setup(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
_install_setup_requires(attrs)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 789, in resolve
dist = best[req.key] = env.best_match(
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1075, in best_match
return self.obtain(req, installer)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1087, in obtain
return installer(requirement)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/dist.py", line 945, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/installer.py", line 87, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 96, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 104, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Users/dimagolub/ai/stable-diffusion-webui/venv/lib/python3.10/site-packages/setuptools/wheel.py", line 148, in _convert_metadata
os.rename(dist_info, egg_info)
OSError: [Errno 66] Directory not empty: '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/Cython-3.0.0.dist-info' -> '/private/var/folders/q2/nd5c6r9d4918cp5krdy8jmyw0000gn/T/pip-install-6snnmaau/basicsr_e9f5526a83d74c59889311e1bb3f8613/.eggs/Cython-3.0.0-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> basicsr
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
didnt find the solution,
im in waiting list too xD
我也遇到了,有解决办法的麻烦回复一下,感谢
also dont have a solution and running into same issue. even uninstalled it, and reinstalled, same issue.
同样的问题无法解决。