jamesWalker55 / comfyui-various

65 stars 8 forks source link

invalid syntax "match splits:" in "comfyui_primitive_ops.py", line 280 #10

Closed IOZZYS closed 2 months ago

IOZZYS commented 2 months ago

Traceback (most recent call last):

File "/home/user/data/applications/ComfyUI/nodes.py", line 1994, in load_custom_node module_spec.loader.exec_module(module)

File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/home/user/data/applications/ComfyUI/custom_nodes/comfyui-various/init.py", line 77, in load_nodes(module_name)

File "/home/user/data/applications/ComfyUI/custom_nodes/comfyui-various/init.py", line 42, in load_nodes module = importlib.import_module(module_name, package=name)

File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level)

File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 846, in exec_module File "", line 983, in get_code File "", line 913, in source_to_code File "", line 228, in _call_with_frames_removed

File "/home/user/data/applications/ComfyUI/custom_nodes/comfyui-various/comfyui_primitive_ops.py", line 280 match splits: ^ SyntaxError: invalid syntax

Cannot import /home/user/data/applications/ComfyUI/custom_nodes/comfyui-various module for custom nodes: invalid syntax (comfyui_primitive_ops.py, line 280)

jamesWalker55 commented 2 months ago

Please upgrade your Python to version 3.10 or above