chrisgoringe / Comfy-Custom-Node-How-To

An unofficial practical guide to getting started developing custom nodes for ComfyUI
GNU General Public License v3.0
143 stars 5 forks source link

Custom Nodes with extra python modules in ComfyUI Portable #14

Open phantg opened 6 months ago

phantg commented 6 months ago

Hello,

I've been developing a custom node for ComfyUI that requires additional libraries. It works well in the standard version, as I've included both install.py and install.bat files for dependency management. However, I'm facing challenges with the portable version of ComfyUI, where the node doesn't seem to load properly.

Is there a recommended best practice for integrating custom nodes that require additional libraries into the Portable ComfyUI Version? Any guidance or suggestions on how to ensure compatibility with the portable version would be greatly appreciated.

Thank you.

geroldmeisinger commented 1 month ago

maybe this can help you: https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/blob/master/__init__.py#L134