s0md3v / sd-webui-roop

roop extension for StableDiffusion web-ui
GNU Affero General Public License v3.0
3.4k stars 884 forks source link

[Windows11] Error running install.py for extension sd-webui-roop-main/运行install.py时出现错误 #307

Open Karos44 opened 3 months ago

Karos44 commented 3 months ago

Can someone tell me what's going on? ` Error running install.py for extension D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main. Command: "D:\SD-WebUI\sd-webui-aki-v4.6.1\python\python.exe" "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\install.py" Error code: 1 stderr: Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\install.py", line 27, in subprocess.run(["pip", "install", "-r", req_file], check=True) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\python\lib\subprocess.py", line 503, in run with Popen(popenargs, kwargs) as process: File "", line 217, in sentry_patched_popen_init File "D:\SD-WebUI\sd-webui-aki-v4.6.1\python\lib\subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds, File "D:\SD-WebUI\sd-webui-aki-v4.6.1\python\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 系统找不到指定的文件。 Launching Web UI with arguments: --medvram-sdxl --theme dark --xformers --api --autolaunch Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. [-] ADetailer initialized. version: 24.1.2, num models: 9 ControlNet preprocessor location: D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-controlnet\annotator\downloads 2024-08-08 12:31:10,467 - ControlNet - INFO - ControlNet v1.1.439 2024-08-08 12:31:10,661 - ControlNet - INFO - ControlNet v1.1.439 *** Error loading script: cn_sam_preprocessor.py Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-cn-sam-preprocessor\scripts\cn_sam_preprocessor.py", line 3, in from scripts.supported_preprocessor import Preprocessor ModuleNotFoundError: No module named 'scripts.supported_preprocessor'


sd-webui-prompt-all-in-one background API service started successfully. *** Error loading script: api.py Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\api.py", line 17, in from scripts.faceswap import get_models File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\faceswap.py", line 16, in from scripts.swapper import UpscaleOptions, swap_face, ImageResult File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\swapper.py", line 14, in from scripts.cimage import convert_to_sd File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\cimage.py", line 2, in from ifnude import detect ModuleNotFoundError: No module named 'ifnude'


*** Error loading script: cimage.py Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\cimage.py", line 2, in from ifnude import detect ModuleNotFoundError: No module named 'ifnude'


*** Error loading script: faceswap.py Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\faceswap.py", line 16, in from scripts.swapper import UpscaleOptions, swap_face, ImageResult File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\swapper.py", line 14, in from scripts.cimage import convert_to_sd File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\cimage.py", line 2, in from ifnude import detect ModuleNotFoundError: No module named 'ifnude'


2024-08-08 12:31:11,578 - roop - INFO - roop v0.0.2 *** Error loading script: swapper.py Traceback (most recent call last): File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\scripts.py", line 469, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\SD-WebUI\sd-webui-aki-v4.6.1\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\swapper.py", line 14, in from scripts.cimage import convert_to_sd File "D:\SD-WebUI\sd-webui-aki-v4.6.1\extensions\sd-webui-roop-main\scripts\cimage.py", line 2, in from ifnude import detect ModuleNotFoundError: No module named 'ifnude'`