-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Unet loader node broken? #6111
Comments
Remove following directories: Those are not custom nodes. |
Removed, restarted but the issue of the Unet loader still exists |
@serget2 I noticed that the diffusion folders (both This is not related to this issue, but since we are here, I would suggest these fixes for other issues you have: Open terminal inside This to update pip:
This to update torch and install the compatible xformers:
Then, you can follow these instructions to install insightface. |
Is the error normal? Microsoft Windows [Version 10.0.19045.5247] D:\Automatic1.1.1.1\ComfyUI_windows_portable>python_embeded\python.exe -m pip install -U pip D:\Automatic1.1.1.1\ComfyUI_windows_portable>python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl D:\Automatic1.1.1.1\ComfyUI_windows_portable> |
Can you do a pip check to see the conflicted packages?
|
from where? I get no module named pip from the python embed folder |
@serget2 Run
Like before: Open terminal inside |
No module named pip, Ima try the installation again |
nope don't work, do i need to install python again? is that still 3.10? |
From your logs I see you have Python version: 3.11.8, but it's strange that pip disappeared, you just used it to install torch. |
indeed, maybe I have done smth wrong? But I can not tell you what, I followed the instructions as you typed them |
that log is from before I did all that though |
no installer for 3.11.11 damnit, I am at a loss here what do you reccomend? |
I'm lost 😅 |
How do I get pip back so comfy works again, If possible a bit up to date so that I do not get this kind of errors every time I update, when I update I just want things to work not fix every problem a person can encounter while using it. |
The problem is not caused by the python version (3.11.8 is ok), if there are errors about conflicts, it's due to the dependencies of the custom nodes you installed. There are some custom nodes that require certain package versions, that can be incompatible with what other nodes require. About pip, it's just strange. Can you screenshot what you are doing? |
Try running |
seems to have done the trick D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded>get-pip.py D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded>.\python.exe -m pip check D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded> |
running the update and python dependencies bat file |
this is the startup script now, gives the same insightface errors D:\Automatic1.1.1.1\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build ComfyUI-Manager: installing dependencies. (GitPython)WARNING: The script pygmentize.exe is installed in 'D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH. ComfyUI-Manager: installing dependencies done.** ComfyUI startup time: 2024-12-19 14:06:18.684942 Prestartup times for custom nodes: Total VRAM 12288 MB, total RAM 65448 MB Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver module for custom nodes: No module named 'piexif' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Anyline module for custom nodes: No module named 'skimage' Loaded Efficiency nodes from D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture module for custom nodes: No module named 'cv2' During handling of the above exception, another exception occurred: Traceback (most recent call last): Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Bringing-Old-Photos-Back-to-Life module for custom nodes: No module named 'detection_models' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools module for custom nodes: No module named 'deepdiff' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dream-project module for custom nodes: No module named 'evalidate' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-dynamicprompts module for custom nodes: No module named 'dynamicprompts' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use module for custom nodes: No module named 'cv2' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flow-Control module for custom nodes: name 'FlowFluxPresetLoader' is not defined Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Gemini module for custom nodes: No module named 'google' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF module for custom nodes: No module named 'gguf' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GlifNodes module for custom nodes: No module named 'diffusers' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Griptape module for custom nodes: No module named 'dotenv' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools module for custom nodes: No module named 'anthropic' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Image-Saver module for custom nodes: No module named 'piexif' Loading: ComfyUI-Impact-Pack (V8.0.1)[Impact Pack] Failed to import due to several dependencies are missing!!!! Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack module for custom nodes: No module named 'cv2' Loading: ComfyUI-Impact-Subpack (V1.1)Traceback (most recent call last): Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Subpack module for custom nodes: No module named 'cv2' Loading: ComfyUI-Inspire-Pack (V1.9)Traceback (most recent call last): Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack module for custom nodes: No module named 'cv2' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait module for custom nodes: No module named 'imageio' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ module for custom nodes: No module named 'cv2' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Long-CLIP module for custom nodes: No module named 'ftfy' Loading: ComfyUI-Manager (V2.55.5)ComfyUI Version: v0.3.8 | Released on '2024-12-18'[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-mnemic-nodes module for custom nodes: No module named 'groq' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-ollama module for custom nodes: No module named 'ollama' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-prompt-reader-node module for custom nodes: No module named 'piexif' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'cv2' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-SUPIR module for custom nodes: No module named 'omegaconf' Cannot import D:\Automatic1.1.1.1\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite module for custom nodes: No module named 'cv2' From Bmad Custom Nodes
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
|
Damn, you have so many nodes... 😅 Ok... Let's start with insightface. It's requiring these:
Use this command:
|
installed |
Apparently you miss a lot of packages, I don't know how that happened. I would install them in three runs:
Let's hope no other conflicts will popup 😅 |
D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded>.\python.exe -m pip install protobuf piexif skimage cv2 detection_models deepdiff evalidate × python setup.py egg_info did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. D:\Automatic1.1.1.1\ComfyUI_windows_portable\python_embeded> |
As reported, replace |
same error but now for cv2 |
At this point I would install one package at a time |
what package is cv2? |
Not 100% sure, but I think |
opencv-python says already satisfied |
after that I'll restart and post the cmd dump again maybe it is easier to see what is installed and what not |
Ok, let's do this way. This way you can use the "Try fix" feature from the Manager, if there are nodes that failed to import due to a missing package |
Did the try update for the comfyUI-GGUF, didn't change anything, except now it says null instead of undefined |
But the models are in a custom path or in the |
Move all the models in |
I restarted BTW |
Ima check in later have to go to a meeting back in an hour. Also the strangling bart gif was only a joke not a threat, don't worry, |
Found the culprit: ComfyUI-Flow-Control Check these two issues:
Disable ComfyUI-Flow-Control and the models should appear again. |
Close this ticket down and buy yourself a beer, it works again, good job |
You can close it yourself 😆 |
It was a long search but you found it, thx a lot, everything works now |
Expected Behavior
for the unet loader node to find my models in the Unet folder as it allways does
Actual Behavior
it is outlined in red and says undefined in the model widget
Steps to Reproduce
I just restarted comfyUI after an update and now my Unet loader node is outlined in red and says undefined in the models widget,
nothing changed in my folders, Unet is still there and the models are still in it, could it refer to a different place or did the name of the folder change inside the jason? I do not know, I am not a programmer
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: