sipherxyz / comfyui-art-venture

157 stars 38 forks source link

(import failed) TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' #38

Closed HansonChan closed 4 months ago

HansonChan commented 4 months ago

on mac m2 log as blow:

Traceback (most recent call last): File "/Users/Shuai/AI/ComfyUI/nodes.py", line 1906, 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 "/Users/Shuai/AI/ComfyUI/custom_nodes/comfyui-art-venture/init.py", line 13, in from .modules.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "/Users/Shuai/AI/ComfyUI/custom_nodes/comfyui-art-venture/modules/nodes.py", line 26, in from .interrogate import ( File "/Users/Shuai/AI/ComfyUI/custom_nodes/comfyui-art-venture/modules/interrogate/init.py", line 1, in from .blip_node import BlipLoader, BlipCaption File "/Users/Shuai/AI/ComfyUI/custom_nodes/comfyui-art-venture/modules/interrogate/blip_node.py", line 10, in from ..model_utils import download_model File "/Users/Shuai/AI/ComfyUI/custom_nodes/comfyui-art-venture/modules/model_utils.py", line 40, in file_name: str | None = None, TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

HansonChan commented 4 months ago

due to python version