Skip to content

Mac desktop版ComfyUI导入AnyLinePreprocessor失败 #33

@s1u

Description

@s1u

Mac M2 Max
ComfyUI 0.4.6

...
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-01-13 11:31:42.874848
** Platform: Darwin
** Python version: 3.12.8 (main, Dec 19 2024, 14:22:58) [Clang 18.1.8 ]
** Python executable: /Users/ComfyUI/.venv/bin/python
** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
** Log path: /Users/ComfyUI/user/comfyui.log
Total VRAM 65536 MB, total RAM 65536 MB
pytorch version: 2.5.1
Set vram state to: SHARED
Device: mps
Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
### Loading: ComfyUI-Manager (V3.4)
### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)

[rgthree-comfy] Loaded 42 epic nodes. 🎉

----------Jake Upgrade Nodes Loaded----------
[comfyui_controlnet_aux] | INFO -> Using ckpts path: /Users/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']
/Users/ComfyUI/custom_nodes/comfyui_controlnet_aux/node_wrappers/dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
Traceback (most recent call last):
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/nodes.py", line 2089, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Users/ComfyUI/custom_nodes/ComfyUI-Anyline/__init__.py", line 1, in <module>
    from .anyline import AnyLine
  File "/Users/ComfyUI/custom_nodes/ComfyUI-Anyline/anyline.py", line 8, in <module>
    from custom_nodes.comfyui_controlnet_aux.utils import common_annotator_call
ModuleNotFoundError: No module named 'custom_nodes.comfyui_controlnet_aux'

Cannot import /Users/ComfyUI/custom_nodes/ComfyUI-Anyline module for custom nodes: No module named 'custom_nodes.comfyui_controlnet_aux'

Import times for custom nodes:
   0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
   0.0 seconds: /Users/ComfyUI/custom_nodes/comfyui_ipadapter_plus
   0.0 seconds: /Users/ComfyUI/custom_nodes/rgthree-comfy
   0.0 seconds: /Users/ComfyUI/custom_nodes/comfyui_essentials
   0.0 seconds: /Users/ComfyUI/custom_nodes/comfyui-manager
   0.0 seconds (IMPORT FAILED): /Users/ComfyUI/custom_nodes/ComfyUI-Anyline
   0.1 seconds: /Users/ComfyUI/custom_nodes/ComfyUI-JakeUpgrade
   0.2 seconds: /Users/ComfyUI/custom_nodes/comfyui_controlnet_aux

Starting server
...

提示Cannot import /Users/ComfyUI/custom_nodes/ComfyUI-Anyline module for custom nodes: No module named 'custom_nodes.comfyui_controlnet_aux'但是下面的import里显示有comfyui_controlnet_aux。
而且custom_nodes下已经安装comfyui_controlnet_aux,没有它的报错。
AnyLinePreprocessor就是安装不上,无论是Try fix还是Switch ver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions