Skip to content

Cannot import D:\ComfyUI\custom_nodes\ComfyUI_cspnodes module for custom nodes: cannot import name 'export_to_video' from 'diffusers.utils' #3

Open
@rookiemann

Description

@rookiemann

I do believe cspnodes isn't compatible with Comfy UI updates. I was using these nodes without problem until just recently. I get these exceptions now and the node fails to load.

Traceback (most recent call last):
  File "D:\ComfyUI\nodes.py", line 1864, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\ComfyUI\custom_nodes\ComfyUI_cspnodes\__init__.py", line 1, in <module>
    from .cspnodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\ComfyUI\custom_nodes\ComfyUI_cspnodes\cspnodes.py", line 4, in <module>
    from diffusers.utils import export_to_video
ImportError: cannot import name 'export_to_video' from 'diffusers.utils' (D:\ComfyUI\venv\lib\site-packages\diffusers\utils\__init__.py)

Cannot import D:\ComfyUI\custom_nodes\ComfyUI_cspnodes module for custom nodes: cannot import name 'export_to_video' from 'diffusers.utils' (D:\ComfyUI\venv\lib\site-packages\diffusers\utils\__init__.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions