WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

How to install plugins in portable comfyui? #153

Closed wzgrx closed 1 year ago

wzgrx commented 1 year ago

path/to/ComfUI/python_embeded/python.exe -s -m pip install -r requirements.txt

PS G:\ComfyUI_windows_portable> path/to/ComfUI/python_embeded/python.exe -s -m pip install -r requirements.txt path/to/ComfUI/python_embeded/python.exe : 无法将“path/to/ComfUI/python_embeded/python.exe”项识别为 cmdlet、函数、脚 本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1

PS G:\ComfyUI_windows_portable>

wzgrx commented 1 year ago

G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\failfast-comfyui-extensions\extensions G:\ComfyUI_windows_portable\ComfyUI\web\extensions\failfast-comfyui-extensions Traceback (most recent call last): File "G:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1604, in load_custom_node module_spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\SDXLCustomAspectRatio\init.py'

Cannot import G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\SDXLCustomAspectRatio module for custom nodes: [Errno 2] No such file or directory: 'G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\SDXLCustomAspectRatio\init.py' xformers version: 0.0.20 Set vram state to: NORMAL_VRAM cudaMallocAsync Traceback (most recent call last): File "G:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1604, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui__init__.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 37, in from numba import jit ModuleNotFoundError: No module named 'numba'

Cannot import G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: No module named 'numba' Traceback (most recent call last): File "G:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1604, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\WAS_Node_Suite.py", line 37, in from numba import jit ModuleNotFoundError: No module named 'numba'

Cannot import G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\WAS_Node_Suite.py module for custom nodes: No module named 'numba'

WASasquatch commented 1 year ago

Seems like you have a few nodes not working correctly. Have you tried installing with ConfyUI Manager plugin? If you are using portable you need to use the full path to the requirements file so it can find it, since you were running from within the python embedded folder.

kaliumlive commented 2 months ago

how would i do the full path thing for the requirements file?

WASasquatch commented 2 months ago

Same as above, with full path to the requirements file. So instead of just "requirements.txt" you use the whole full path to the file on your system.