diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

cannot import name 'export_to_video' from 'diffusers

Open Arslan-Mehmood1 opened this issue 1 month ago • 2 comments

Describe the bug

tried different versions of diffusers but getting this error, trying to run the https://github.com/SkyworkAI/SkyReels-V2

Reproduction

tried different versions of diffusers but getting this error, trying to run the https://github.com/SkyworkAI/SkyReels-V2

Logs

tried different versions of diffusers but getting this error, trying to run the https://github.com/SkyworkAI/SkyReels-V2

System Info

tried different versions of diffusers but getting this error, trying to run the https://github.com/SkyworkAI/SkyReels-V2

Who can help?

No response

Arslan-Mehmood1 avatar Dec 11 '25 07:12 Arslan-Mehmood1

you can check that the function exists here

the most probably cause is that you're using:

from diffusers import export_to_video

instead of:

from diffusers.utils import export_to_video

if you're using the second line, then there's something wrong with your installation of diffusers.

asomoza avatar Dec 11 '25 13:12 asomoza

I think it used to work with

from diffusers import export_to_video

But at some point my IDE linter was complaining so switched to importing from diffusers.utils

JoeGaffney avatar Dec 11 '25 17:12 JoeGaffney