stablediffusion吧 关注:22,688贴子:70,283
  • 2回复贴,共1

装扩展出问题了

只看楼主收藏回复

不知道这个DLIB是个啥,怎么安装呢
*** Error running install.py for extension E:\sd-webui-aki-v4.8\extensions\sd-webui-old-photo-restoration.
*** Command: "E:\sd-webui-aki-v4.8\python\python.exe" "E:\sd-webui-aki-v4.8\extensions\sd-webui-old-photo-restoration\install.py"
*** Error code: 1
*** stdout: Installing Old-Photo-Restoration Requirement: dlib
***
*** stderr: Traceback (most recent call last):
*** File "E:\sd-webui-aki-v4.8\extensions\sd-webui-old-photo-restoration\install.py", line 14, in <module>
*** launch.run_pip(f"install {package}", f"Old-Photo-Restoration Requirement: {package}")
*** File "<enhanced_experience patches.progress.launch>", line 49, in wrapped_run_pip
*** File "E:\sd-webui-aki-v4.8\modules\launch_utils.py", line 143, 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 "E:\sd-webui-aki-v4.8\modules\launch_utils.py", line 115, in run
*** raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install Old-Photo-Restoration Requirement: dlib.
*** Command: "E:\sd-webui-aki-v4.8\python\python.exe" -m pip install dlib --prefer-binary
*** Error code: 1
*** stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl
*** Looking in links: https://pypi.oystermercury.top/
*** Collecting dlib
*** Downloading dlib-19.24.4.tar.gz (3.3 MB)
*** Installing build dependencies: started
*** Installing build dependencies: still running...
*** Installing build dependencies: finished with status 'done'
*** Getting requirements to build wheel: started
*** Getting requirements to build wheel: finished with status 'done'
*** Preparing metadata (pyproject.toml): started
*** Preparing metadata (pyproject.toml): finished with status 'done'
*** Building wheels for collected packages: dlib
*** Building wheel for dlib (pyproject.toml): started
*** Building wheel for dlib (pyproject.toml): finished with status 'error'
*** Failed to build dlib
***
*** stderr: error: subprocess-exited-with-error
***
*** × Building wheel for dlib (pyproject.toml) did not run successfully.
*** │ exit code: 1
*** ╰─> [6 lines of output]
*** running bdist_wheel
*** running build
*** running build_ext
***
*** ERROR: CMake must be installed to build dlib
***
*** [end of output]
***
*** note: This error originates from a subprocess, and is likely not a problem with pip.
*** ERROR: Failed building wheel for dlib
*** ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects


IP属地:广东1楼2024-06-12 19:21回复
    不知道你啥原因导致的缺少CMake包,先安装这个包试试,安装方法百度下,这里贴不了带网址的代码。


    IP属地:山东2楼2024-06-12 21:04
    收起回复