Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the installation of the latest AnimateDiff Evolved keep importing errors and cannot be used correctly? The network environment is normal. I have tried uninstalling, reinstalling, and repairing many times, but it still remains the same. Why is this? #515

Open
disco11 opened this issue Dec 6, 2024 · 23 comments
Labels
no bugs here Not a bug, but a workflow or environment issue update your comfy/nodes Updating will fix the issue

Comments

@disco11
Copy link

disco11 commented Dec 6, 2024

aaa

@elleryphx
Copy link

Ive been having the same issue

@Kosinkadink
Copy link
Owner

All that "Import Failed" means is that there was an error when the node was trying to turn on. Check your console, it will have the full error log there. All you need to do to fix is to make sure you have ComfyUI, AnimateDiff-Evolved, and Advanced-ControlNet updated. Currently, the manager may lie to you about updating nodes if it thinks there was a change made locally by you to the files, which is unfortunate as it's out of my control.

Kosinkadink/ComfyUI-Advanced-ControlNet#202
#499

@Kosinkadink Kosinkadink added no bugs here Not a bug, but a workflow or environment issue update your comfy/nodes Updating will fix the issue labels Dec 6, 2024
@elleryphx
Copy link

I cant seem to update AnimateDiff-Evolved, it seems to be stuck on restart

@elleryphx
Copy link

either that or I get the error code

@Kosinkadink
Copy link
Owner

Try to delete the custom nodes folder for it so it can install a fresh copy

@elleryphx
Copy link

elleryphx commented Dec 6, 2024 via email

@Kosinkadink
Copy link
Owner

That's not the actual error code - it will be in your console log. And given youve already tried reinstalling it, your ComfyUI is likely outdated and you need to update it to be compatible.

@elleryphx
Copy link

elleryphx commented Dec 6, 2024 via email

@Kosinkadink
Copy link
Owner

Find the full error stack in your console when comfyui is starting up and post it here, then I can confirm what's wrong. Given that everyone's issue the past 3 days has been not updating everything to the proper versions, that would be my hunch here as well.

@elleryphx
Copy link

Is this it?

Cannot import C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\animatediff module for custom nodes: [Errno 2] No such file or directory: 'C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\animatediff\init.py'
[AnimateDiff] - ERROR - No models available. Please download one and put it in models folder

Loading: ComfyUI-Manager (V2.55.4)

ComfyUI Version: v0.3.7-3-g8af9a91 | Released on '2024-12-06'

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
Workspace manager - Openning file hash dict
🦄🦄Loading: Workspace Manager (V2.1.0)
Traceback (most recent call last):
File "C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2037, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 991, in exec_module
File "", line 1128, in get_code
File "", line 1186, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\lcm-lora-sdv1-5\init.py'

Cannot import C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\lcm-lora-sdv1-5 module for custom nodes: [Errno 2] No such file or directory: 'C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\lcm-lora-sdv1-5\init.py'

Import times for custom nodes:
0.0 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
0.0 seconds (IMPORT FAILED): C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\lcm-lora-sdv1-5
0.0 seconds (IMPORT FAILED): C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\animatediff
0.0 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-animatediff
0.0 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
0.0 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-workspace-manager
0.1 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved
0.1 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Model-Manager
0.4 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
0.6 seconds: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: C:\Users\eller\Downloads\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]

@Kosinkadink
Copy link
Owner

That looks like you have the wrong AnimateDiff installed. You need AnimateDiff-Evolved, uninstall the other one

@elleryphx
Copy link

Uninstalled AnimateDiff. I guess now I'm trying to install whatever I need to not have issues? I was under the impression that I had already downloaded AnimateDiff-Evolved, but am I missing now? Im confused.

@Kosinkadink
Copy link
Owner

I don't know what your environment looks like. There are no requirements for AnimateDiff-Evolved, so the only reason it could have an error on startup is if your ComfyUI is outdated.

@elleryphx
Copy link

just ran an update and checking now

@elleryphx
Copy link

it looks like it installed an AnimateDiff-Evolved from the manager into the interface. I was looking for the legacy loader, but I still cant seem to locate when I search for it.

@Kosinkadink
Copy link
Owner

The legacy loader has been deprecated - it can be toggled to be viewable again, but is there a reason why you need to use it in particular? The other Gen1 loader will produce identical results without some ancient toggles for replicating results from over a year ago.

@elleryphx
Copy link

I see. I'm new to a lot of the programming/file management end of this and hadnt considered that youve updated the loader. How do you toggle to be viewable?

@Kosinkadink
Copy link
Owner

For the sake of clarity, use the non-legacy one. It is a direct drop in replacement. It's also over a year old, so it's not exactly new. If you right click, you'll find it in AnimateDiff-Evo/Gen1

@elleryphx
Copy link

thank you

@disco11
Copy link
Author

disco11 commented Dec 7, 2024

Thank you for the great open source plug-in author, updating comfyui solved the problem, and there is another question why do you need to install it?
ComfyUI-Advanced-ControlNet plug-in, is there any way to use it in combination with animatediff?

@Kosinkadink
Copy link
Owner

You technically don't need it for this nodepack to work, but if you will be making generations that involve ControlNets and require using contexts (AKA, more than 16 frames), then you'd need Advanced-ControlNet as I coded it to understand what contexts mean.

@xiayela
Copy link

xiayela commented Dec 10, 2024

我似乎无法更新 AnimateDiff-Evolved,它似乎卡在重新启动时

Have you solved it?

@Kosinkadink
Copy link
Owner

You just need to make sure AnimateDiff-Evolved, ComfyUI, and Advanced-ControlNet (if you're using it) are updated. There is no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no bugs here Not a bug, but a workflow or environment issue update your comfy/nodes Updating will fix the issue
Projects
None yet
Development

No branches or pull requests

4 participants