Closed zzhokzz closed 1 month ago
Show me the full installation log.
D:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build [START] Security scan [DONE] Security scan
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)
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
!!!!!
[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]
[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
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
req_path: D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\requirements.txt
[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
!!!!!
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.
[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 "
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 "
[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]
I am having the same error. My log is mostly identical, I can post it if that would be helpful.
The problem might be in the version of matplotlib. Looks like the version 3.9.1 is broken. the 3.9.0 works fine
I am having the same error.
It seems that the recent Ultralytics package update is breaking things.
remove ComfyUI-Impact-Pack/impact_subpack
dir and restart.
After removing ComfyUI-Impact-Pack/impact_subpack and restart, it just reinstalls itself.
[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-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'
[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]
Traceback (most recent call last):
File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init.py", line 122, in
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
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'
Traceback (most recent call last):
File "K:\AI\Stable_diffusion\ComfyUI\python_embeded\Lib\site-packages\skimage__init.py", line 122, in
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 "
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.
Do you use network drive?
Sorry been away for a while, no I do not use a network drive. I tried reinstalling impact pack entirely multiple times.
What's the solution?
You'd better uninstall scikit-image
pip package.
It seems that the installed scikt-image
is invalid.
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
same issue
install-maual.py
is added for manual installation.
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
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.txtComfyUI-Impact-Pack: Check basic models
[Impact Pack] Wildcards loading done. No module named 'ultralytics'