WASasquatch / was-node-suite-comfyui

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

After upgrading comfyui yesterday(2023/07/16), this plugin cannot be used #119

Open sdqq1234 opened 1 year ago

sdqq1234 commented 1 year ago

Traceback (most recent call last): File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\nodes.py", line 1516, 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 "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\custom_nodes\was-node-suite-comfyui__init.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 37, in from numba import jit File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba__init__.py", line 88, in from numba.core.decorators import (cfunc, generated_jit, jit, njit, stencil, File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\decorators.py", line 12, in from numba.stencils.stencil import stencil File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\stencils\stencil.py", line 11, in from numba.core import types, typing, utils, ir, config, ir_utils, registry File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\registry.py", line 5, in from numba.core import utils, typing, dispatcher, cpu File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\dispatcher.py", line 13, in from numba.core import ( File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\compiler.py", line 6, in from numba.core import (utils, errors, typing, interpreter, bytecode, postproc, File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\callconv.py", line 13, in from numba.core.base import PYOBJECT, GENERIC_POINTER File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\base.py", line 20, in from numba.cpython import builtins File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\cpython\builtins.py", line 536, in from numba.core.typing.builtins import IndexValue, IndexValueType File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\typing\builtins.py", line 22, in @infer_global(print) File "E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\python_embeded\lib\site-packages\numba\core\typing\templates.py", line 1271, in register_global if getattr(mod, val.name__) is not val: AttributeError: module 'E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\custom_nodes\cup' has no attribute 'wrap'

Cannot import E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\custom_nodes\was-node-suite-comfyui module for custom nodes: module 'E:\AIProject\ComfyUI_windows0605\ComfyUI_windows\ComfyUI\custom_nodes\cup' has no attribute 'wrap'

RuiVuusen commented 1 year ago

this happens to me too

WASasquatch commented 1 year ago

Reinstall the requirements, of course.

sdqq1234 commented 1 year ago

I reinstalled, but it didn't work

WASasquatch commented 1 year ago

I reinstalled, but it didn't work

Then you didn't do it right. Like installing to system python and not your python embedded.

sdqq1234 commented 1 year ago

I reinstalled, but it didn't work

Then you didn't do it right. Like installing to system python and not your python embedded.

I reinstalled requirements both on system python and embedded python,but nothing changed, same errors.I think it should be caused by comfyui modifying some codes

WASasquatch commented 1 year ago

No, it's cause numba isn't there, meaning it is not installed on your ComfyUI portable python in embedded_python/python.exe

And if you installed to both, you have conflicts to resolve and need to uninstall from both. Then install to only python embedded.