ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.93k stars 190 forks source link

ComfyUI-Impact-Pack: (IMPORT FAILED) Subpack #689

Closed zzhokzz closed 1 month ago

zzhokzz commented 3 months ago

The module at the custom_nodes/ComfyUI-Impact-Pack/impact_subpack path appears to be incomplete. Recommended to delete the path and restart ComfyUI. If the issue persists, please report it to https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues. req_path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt

ComfyUI-Impact-Pack: Check basic models

[Impact Pack] Wildcards loading done. No module named 'ultralytics'

ltdrdata commented 3 months ago

Show me the full installation log.

zzhokzz commented 3 months ago

D:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build [START] Security scan [DONE] Security scan

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-08-04 15:37:18.381486 Platform: Windows Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] Python executable: D:\ComfyUI_windows_portable\python_embeded\python.exe ComfyUI Path: D:\ComfyUI_windows_portable\ComfyUI Log path: D:\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.8 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 24564 MB, total RAM 32509 MB pytorch version: 2.4.0+cu121 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync Using pytorch cross attention [Prompt Server] web root: D:\ComfyUI_windows_portable\ComfyUI\web D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead. @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)

Loading: ComfyUI-Impact-Pack (V6.0.1)

No module named 'ultralytics'

!!!!!

[ComfyUI-Impact-Subpack] If this error occurs, please check the following link: https://github.com/ltdrdata/ComfyUI-Impact-Pack/blob/Main/troubleshooting/TROUBLESHOOTING.md

!!!!!

ComfyUI-Impact-Pack: Reinstall dependencies (several dependencies are missing.)

[bold yellow]WARN: The COMFYUI_PATH environment variable is not set. Assuming D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack/../../ as the ComfyUI path.[/bold yellow]

[bold yellow]WARN: The COMFYUI_MODEL_PATH environment variable is not set. Assuming D:\ComfyUI_windows_portable\ComfyUI\models as the ComfyUI path.[/bold yellow]

ComfyUI-Impact-Pack: Check dependencies

ComfyUI-Impact-Pack: Updating subpack

[Impact Pack] EXECUTE: ['D:\ComfyUI_windows_portable\python_embeded\python.exe', 'install.py'] in 'D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack' req_path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt [Impact Pack] EXECUTE: ['D:\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'install', '-r', 'requirements.txt'] in 'D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack' Collecting ultralytics!=8.2.5 (from -r requirements.txt (line 1)) Using cached ultralytics-8.2.72-py3-none-any.whl.metadata (41 kB) Collecting matplotlib>=3.3.0 (from ultralytics!=8.2.5->-r requirements.txt (line 1)) Using cached matplotlib-3.9.1.tar.gz (36.1 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' ERROR: Exception: Traceback (most recent call last): File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 105, in _run_wrapper status = _inner_run() ^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 96, in _inner_run return self.run(options, args) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\req_command.py", line 67, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\install.py", line 379, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 427, in resolve failure_causes = self._attempt_to_pin_criterion(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 174, in bool return any(self) ^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 162, in return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built candidate = func() ^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 186, in _make_candidate_from_link base: Optional[BaseCandidate] = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 232, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 303, in init super().init( File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 158, in init self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 235, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 314, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 527, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 642, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 72, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 56, in prepare_distribution_metadata self._install_build_reqs(finder) File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 126, in _install_build_reqs build_reqs = self._get_build_requires_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 103, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\misc.py", line 706, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 166, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook raise BackendUnavailable(data.get('traceback', '')) pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "importlib__init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1140, in _find_and_load_unlocked ModuleNotFoundError: No module named 'mesonpy'

req_path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt [Impact Pack] EXECUTE: ['D:\ComfyUI_windows_portable\python_embeded\python.exe', '-s', '-m', 'pip', 'install', '-r', 'requirements.txt'] in 'D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack' Collecting ultralytics!=8.2.5 (from -r requirements.txt (line 1)) Using cached ultralytics-8.2.72-py3-none-any.whl.metadata (41 kB) Collecting matplotlib>=3.3.0 (from ultralytics!=8.2.5->-r requirements.txt (line 1)) Using cached matplotlib-3.9.1.tar.gz (36.1 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' ERROR: Exception: Traceback (most recent call last): File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 105, in _run_wrapper status = _inner_run() ^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\base_command.py", line 96, in _inner_run return self.run(options, args) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\cli\req_command.py", line 67, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\commands\install.py", line 379, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 427, in resolve failure_causes = self._attempt_to_pin_criterion(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 239, in _attempt_to_pin_criterion criteria = self._get_updated_criteria(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 230, in _get_updated_criteria self._add_to_criteria(criteria, requirement, parent=candidate) File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 174, in bool return any(self) ^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 162, in return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built candidate = func() ^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 186, in _make_candidate_from_link base: Optional[BaseCandidate] = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 232, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 303, in init super().init( File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 158, in init self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 235, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 314, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 527, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 642, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\operations\prepare.py", line 72, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 56, in prepare_distribution_metadata self._install_build_reqs(finder) File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 126, in _install_build_reqs build_reqs = self._get_build_requires_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\distributions\sdist.py", line 103, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_internal\utils\misc.py", line 706, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 166, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook raise BackendUnavailable(data.get('traceback', '')) pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "importlib__init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1140, in _find_and_load_unlocked ModuleNotFoundError: No module named 'mesonpy'

req_path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt

ComfyUI-Impact-Pack: Check basic models

[Impact Pack] Wildcards loading done. No module named 'ultralytics'

!!!!!

[ComfyUI-Impact-Subpack] If this error occurs, please check the following link: https://github.com/ltdrdata/ComfyUI-Impact-Pack/blob/Main/troubleshooting/TROUBLESHOOTING.md

!!!!!

ComfyUI-Impact-Pack: (IMPORT FAILED) Subpack

The module at the custom_nodes/ComfyUI-Impact-Pack/impact_subpack path appears to be incomplete. Recommended to delete the path and restart ComfyUI. If the issue persists, please report it to https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues.


Traceback (most recent call last): File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack__init__.py", line 466, in import impact.subpack_nodes File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subpack_nodes.py", line 4, in import impact.subcore as subcore File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 15, in raise e File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subcore.py", line 11, in from ultralytics import YOLO ModuleNotFoundError: No module named 'ultralytics'

Loading: ComfyUI-Manager (V2.48.5)

ComfyUI Revision: 2463 [56f3c660] | Released on '2024-08-04'

[comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']

Full error log from comfyui_controlnet_aux: Traceback (most recent call last): File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux__init.py", line 32, in load_nodes module = importlib.import_module( ^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib__init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in from controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose\init__.py", line 15, in from . import util File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose\util.py", line 3, in import matplotlib ModuleNotFoundError: No module named 'matplotlib'

Traceback (most recent call last): File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux__init.py", line 32, in load_nodes module = importlib.import_module( ^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib\init.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in from ..src.controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose\init__.py", line 15, in from . import util File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose\util.py", line 3, in import matplotlib ModuleNotFoundError: No module named 'matplotlib'

[comfyui_controlnet_aux] | INFO -> Some nodes failed to load: Failed to import module dwpose because ModuleNotFoundError: No module named 'matplotlib' Failed to import module pose_keypoint_postprocess because ModuleNotFoundError: No module named 'matplotlib'

Check that you properly installed the dependencies. If you think this is a bug, please report it on the github page (https://github.com/Fannovel16/comfyui_controlnet_aux/issues)

Import times for custom nodes: 0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.2 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 24.9 seconds: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack

Starting server

To see the GUI go to: http://127.0.0.1:8188 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json FETCH DATA from: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]

thingreencandle commented 3 months ago

I am having the same error. My log is mostly identical, I can post it if that would be helpful.

zzhokzz commented 3 months ago

The problem might be in the version of matplotlib. Looks like the version 3.9.1 is broken. the 3.9.0 works fine

kajihihumi commented 3 months ago

I am having the same error.

ltdrdata commented 3 months ago

It seems that the recent Ultralytics package update is breaking things. remove ComfyUI-Impact-Pack/impact_subpack dir and restart.

mehlawlarz commented 3 months ago

After removing ComfyUI-Impact-Pack/impact_subpack and restart, it just reinstalls itself.

Loading: ComfyUI-Manager (V2.48.6)

ComfyUI Revision: 2512 [1de69fe4] | Released on '2024-08-10'

Loading: ComfyUI-Impact-Pack (V6.2)

CompfyUI-Impact-Pack: corrupted subpack detected.

ComfyUI-Impact-Pack: Updating dependencies [22 -> 22]

[bold yellow]WARN: The COMFYUI_PATH environment variable is not set. Assuming K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack/../../ as the ComfyUI path.[/bold yellow]

[bold yellow]WARN: The COMFYUI_MODEL_PATH environment variable is not set. Assuming K:\AI\Stable_diffusion\ComfyUI\ComfyUI\models as the ComfyUI path.[/bold yellow]

ComfyUI-Impact-Pack: Check dependencies

ComfyUI-Impact-Pack: Updating subpack

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [Impact Pack] EXECUTE: ['K:\AI\Stable_diffusion\ComfyUI\python_embeded\python.exe', 'install.py'] in 'K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack'

req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt [Impact Pack] EXECUTE: ['K:\AI\Stable_diffusion\ComfyUI\python_embeded\python.exe', '-s', '-m', 'pip', 'install', '-r', 'K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt'] in 'None'

ComfyUI-Impact-Pack: Check basic models

ComfyUI-Impact-Pack: Reinstall dependencies (several dependencies are missing.)

[bold yellow]WARN: The COMFYUI_PATH environment variable is not set. Assuming K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack/../../ as the ComfyUI path.[/bold yellow]

[bold yellow]WARN: The COMFYUI_MODEL_PATH environment variable is not set. Assuming K:\AI\Stable_diffusion\ComfyUI\ComfyUI\models as the ComfyUI path.[/bold yellow]

ComfyUI-Impact-Pack: Check dependencies

ComfyUI-Impact-Pack: Updating subpack

Traceback (most recent call last): File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init.py", line 122, in from ._shared import geometry ImportError: cannot import name 'geometry' from 'skimage._shared' (K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage_shared\init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack__init.py", line 47, in import impact.subpack_nodes # This import must be done before cv2. ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\impact\subpack_nodes.py", line 3, in import impact.core as core File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\core.py", line 13, in from skimage.measure import label File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init__.py", line 125, in _raise_build_error(e) File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init__.py", line 102, in _raise_build_error raise ImportError( ImportError: cannot import name 'geometry' from 'skimage._shared' (K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage_shared\init__.py) It seems that scikit-image has not been built correctly.

Your install of scikit-image appears to be broken. Try re-installing the package following the instructions at: https://scikit-image.org/docs/stable/install.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 137, in ensure_subpack repo.remotes.origin.pull() File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\git\remote.py", line 1055, in pull res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr proc.wait(stderr=stderr_text) File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\git\cmd.py", line 604, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git pull -v -- origin stderr: 'fatal: detected dubious ownership in repository at 'K:/AI/Stable_diffusion/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/impact_subpack'' [ComfyUI-Impact-Pack] Please turn off ComfyUI and remove 'K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack' and restart ComfyUI. [Impact Pack] EXECUTE: ['K:\AI\Stable_diffusion\ComfyUI\python_embeded\python.exe', 'install.py'] in 'K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack' req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\impact_subpack\requirements.txt req_path: K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt [Impact Pack] EXECUTE: ['K:\AI\Stable_diffusion\ComfyUI\python_embeded\python.exe', '-s', '-m', 'pip', 'install', '-r', 'K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt'] in 'None'

ComfyUI-Impact-Pack: Check basic models

Traceback (most recent call last): File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init.py", line 122, in from ._shared import geometry ImportError: cannot import name 'geometry' from 'skimage._shared' (K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage_shared\init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\nodes.py", line 1941, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack__init.py", line 72, in import impact.impact_server # to load server api ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\impact_server.py", line 12, in import impact.core as core File "K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\core.py", line 13, in from skimage.measure import label File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init__.py", line 125, in _raise_build_error(e) File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init__.py", line 102, in _raise_build_error raise ImportError( ImportError: cannot import name 'geometry' from 'skimage._shared' (K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage_shared\init__.py) It seems that scikit-image has not been built correctly.

Your install of scikit-image appears to be broken. Try re-installing the package following the instructions at: https://scikit-image.org/docs/stable/install.html

Cannot import K:\AI\Stable_diffusion\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack module for custom nodes: cannot import name 'geometry' from 'skimage._shared' (K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage_shared__init__.py) It seems that scikit-image has not been built correctly.

ltdrdata commented 3 months ago

Do you use network drive?

mehlawlarz commented 2 months ago

Sorry been away for a while, no I do not use a network drive. I tried reinstalling impact pack entirely multiple times.

HARI-14052002 commented 2 months ago

What's the solution?

ltdrdata commented 2 months ago

You'd better uninstall scikit-image pip package. It seems that the installed scikt-image is invalid.

georgitsenov commented 2 months ago

I am facing the same issue, while building Docker image for ComfyUI. Dockerfile snippet: WORKDIR /home/dgf/ComfyUI/custom_nodes RUN git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack ComfyUI-Impact-Pack/impact_subpack && . /home/dgf/ComfyUI/venv/bin/activate && pip install -r ComfyUI-Impact-Pack/requirements.txt && pip install -r ComfyUI-Impact-Pack/impact_subpack/requirements.txt && python ComfyUI-Impact-Pack/install.py && python ComfyUI-Impact-Pack/impact_subpack/install.py

fourcolors commented 1 month ago

same issue

ltdrdata commented 1 month ago

install-maual.py is added for manual installation.

Ericli0618 commented 1 month ago

i install it by this procedure:WORKDIR /home/dgf/ComfyUI/custom_nodes RUN git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack ComfyUI-Impact-Pack/impact_subpack && . /home/dgf/ComfyUI/venv/bin/activate && pip install -r ComfyUI-Impact-Pack/requirements.txt && pip install -r ComfyUI-Impact-Pack/impact_subpack/requirements.txt && python ComfyUI-Impact-Pack/install.py && python ComfyUI-Impact-Pack/impact_subpack/install.py however,the url always has not been connected