sipherxyz / comfyui-art-venture

155 stars 37 forks source link

(IMPORT FAILED) error with the current version #1

Open ghost opened 1 year ago

ghost commented 1 year ago

After updating comfyui-art-venture is failed to be loaded. Anyway thank you for these nodes, very useful for my workflows :)

Import times for custom nodes:
   0.0 seconds: C:\Users\81705\Documents\_AITools\ComfyUI_windows_portable_DWPose\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.6 seconds: C:\Users\81705\Documents\_AITools\ComfyUI_windows_portable_DWPose\ComfyUI\custom_nodes\ComfyUI-Manager-main
   1.3 seconds (IMPORT FAILED): C:\Users\81705\Documents\_AITools\ComfyUI_windows_portable_DWPose\ComfyUI\custom_nodes\comfyui-art-venture
rcloke commented 1 year ago

I had the same issue. It appears the insightface dependency is missing for the Faceswap node. When trying to install insightface directly, it had build issue. SO, I removed the faceswap node from the nodes.py file.

Edit custom_nodes/comfyui-art-venture/modules/nodes.py

Comment out these line below

# from .faceswap_nodes import (
#     NODE_CLASS_MAPPINGS as FACESWAP_NODE_CLASS_MAPPINGS,
#     NODE_DISPLAY_NAME_MAPPINGS as FACESWAP_NODE_DISPLAY_NAME_MAPPINGS,
# )

Restart comfyui. Should be good to go until this issue is resolved.