jags111 / efficiency-nodes-comfyui

A collection of ComfyUI custom nodes.- Awesome smart way to work with nodes!
https://civitai.com/models/32342
GNU General Public License v3.0
991 stars 97 forks source link

import error #225

Open fresno808 opened 3 months ago

fresno808 commented 3 months ago

No matter how many times Ive tried installing and reinstalling, either through manager or git pull, I get an import error. Any ideas on how to fix it?

jags111 commented 3 months ago

strange and not having a clear idea on it. can you post the log details

fresno808 commented 3 months ago

Cannot import C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui module for custom nodes: expected np.ndarray (got numpy.ndarray) Traceback (most recent call last): File "C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1931, in load_custom_node module_spec.loader.exec_module(module) File "", line 936, in exec_module File "", line 1073, in get_code File "", line 1130, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\djtid\OneDrive\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\pfg-ComfyUI\init.py'

jags111 commented 3 months ago

can you check the specific node pfg-ComfyUI which is having an issue and you need to resolve it. it is coming from there. May be the repo needs reinstall or install from comfy-Manager.

May be this node is dependent on some more details so check it Clone thie repo on ComfyUI/custom_nodes Put pfg modenl on pfg-ComfyUI/models from https://huggingface.co/furusu/PFG Open pfg node from loaders and connect CONDITIONING from Prompt to Sampler

may be or else remove this node and run and the error may go away.

fresno808 commented 3 months ago

hello, the efficiency seems to work when i dont have comfyui manager installed, but then when i install manager it messes up the efficiency node.