Installing requirements for CodeFormer
Traceback (most recent call last):
File "/Users/mac/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/Users/mac/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/Users/mac/stable-diffusion-webui/modules/launch_utils.py", line 389, in prepare_environment
run_pip(f"install -r \"{os.path.join(repo_dir('CodeFormer'), 'requirements.txt')}\"", "requirements for CodeFormer")
File "/Users/mac/stable-diffusion-webui/modules/launch_utils.py", line 138, in run_pip
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
File "/Users/mac/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install requirements for CodeFormer.
Command: "/Users/mac/stable-diffusion-webui/venv/bin/python3.10" -m pip install -r "/Users/mac/stable-diffusion-webui/repositories/CodeFormer/requirements.txt" --prefer-binary
Error code: 1
stdout: Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting addict
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl (3.8 kB)
Collecting future
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting lmdb
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6e/2c/2e8aa9cef391eec13c369fe587691fca9dd37406e136b1d6055f47df0a9a/lmdb-1.4.1-cp310-cp310-macosx_11_0_x86_64.whl (101 kB)
Requirement already satisfied: numpy in ./venv/lib/python3.10/site-packages (from -r /Users/mac/stable-diffusion-webui/repositories/CodeFormer/requirements.txt (line 4)) (1.26.0)
Collecting opencv-python
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8a/6f/8aa049b66bcba8b5a4dc872ecfdbcd8603a96704b070fde22222e479c3d7/opencv_python-4.8.0.76-cp37-abi3-macosx_10_16_x86_64.whl (54.7 MB)
Requirement already satisfied: Pillow in ./venv/lib/python3.10/site-packages (from -r /Users/mac/stable-diffusion-webui/repositories/CodeFormer/requirements.txt (line 6)) (10.0.1)
Requirement already satisfied: pyyaml in ./venv/lib/python3.10/site-packages (from -r /Users/mac/stable-diffusion-webui/repositories/CodeFormer/requirements.txt (line 7)) (6.0.1)
Requirement already satisfied: requests in ./venv/lib/python3.10/site-packages (from -r /Users/mac/stable-diffusion-webui/repositories/CodeFormer/requirements.txt (line 8)) (2.31.0)
Collecting scikit-image
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/cb/a1/6bc36ba38fe9312271cce46cf2025fcc63be096131747a8f41522a57aaef/scikit_image-0.21.0-cp310-cp310-macosx_10_9_x86_64.whl (13.0 MB)
Collecting scipy
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/65/da/4d0dfd29379c8ee3ba54b19249f673cc98448e0fd86170339fb02031f0e9/scipy-1.11.2-cp310-cp310-macosx_10_9_x86_64.whl (37.2 MB)
stderr: ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement tb-nightly (from versions: none)
ERROR: No matching distribution found for tb-nightly
[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip文章来源:https://www.toymoban.com/news/detail-719392.html
mac@MacBook-Pro stable-diffusion-webui %文章来源地址https://www.toymoban.com/news/detail-719392.html
到了这里,关于安装stable-diffusion出现问题,求大佬看一下怎么解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!