ComfyUI-layerdiffuse icon indicating copy to clipboard operation
ComfyUI-layerdiffuse copied to clipboard

can't load the node.. please help..

Open max140x opened this issue 1 year ago • 17 comments

Screenshot 2024-03-08 173604

max140x avatar Mar 08 '24 15:03 max140x

I have this issue too. In the console it says

Traceback (most recent call last): File "F:\comfynew\ComfyUI\ComfyUI\nodes.py", line 1887, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in call_with_frames_removed File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main_init.py", line 1, in from .layered_diffusion import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\layered_diffusion.py", line 17, in from .lib_layerdiffusion.models import TransparentVAEDecoder File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\lib_layerdiffusion\models.py", line 22, in check_diffusers_version() File "F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main\lib_layerdiffusion\models.py", line 17, in check_diffusers_version assert parse(diffusers.version) >= parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: diffusers>=0.25.0 requirement not satisfied. Please install correct diffusers version.

Cannot import F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main module for custom nodes: diffusers>=0.25.0 requirement not satisfied. Please install correct diffusers version.

Loading: ComfyUI-Manager (V2.9)

ComfyUI Revision: 2052 [55f37baa] | Released on '2024-03-07'

Import times for custom nodes: 0.5 seconds: F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager 6.2 seconds (IMPORT FAILED): F:\comfynew\ComfyUI\ComfyUI\custom_nodes\ComfyUI-layerdiffuse-main

you might think reading this that I have the wrong version of diffusers but I checked and I have 0.25.0

MokkaBoss1 avatar Mar 08 '24 19:03 MokkaBoss1

Exactly same issue here :-/

yotraxxx avatar Mar 08 '24 21:03 yotraxxx

Also having this issue. Any suggestions?

HotHams avatar Mar 09 '24 10:03 HotHams

Exactly same issue here :-/

Xiahussheng avatar Mar 09 '24 13:03 Xiahussheng

Make sure you update comfy's python packages, not the system python packages. Don't use PowerShell, just go with cmd

polarsky89 avatar Mar 09 '24 18:03 polarsky89

by chance do you mean to do this:

pip install --upgrade pip pip list --outdated --format=freeze | grep -v '^-e' | cut -d = -f 1 | xargs -n1 pip install -U

MokkaBoss1 avatar Mar 09 '24 19:03 MokkaBoss1

That's the way to upgrade system python. In cmd (not powershell) go to python_embedded folder in your comfy standalone install folder, and start with python.exe like this: ComfyUI_windows_portable\python_embeded>python.exe pip and do your thing. You can also check the installed versions by using pip show

polarsky89 avatar Mar 09 '24 19:03 polarsky89

just a thought would not executing the update bat file do the same?

update_comfyui_and_python_dependencies.bat - it is stored in the ComfyUi update folder

thanks

MokkaBoss1 avatar Mar 09 '24 19:03 MokkaBoss1

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !

yotraxxx avatar Mar 10 '24 10:03 yotraxxx

ok great! Have you published the update?

MokkaBoss1 avatar Mar 10 '24 10:03 MokkaBoss1

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !通过使用 comfyui Manager/Install PIP Packages 菜单调用“pip install diffusers”,我这边解决了问题!

it works!

Xiahussheng avatar Mar 10 '24 11:03 Xiahussheng

yes works for me too now. For others looking here I went to the comfyui manager and in the experimental section (bottom left) I selected the option "Install PIP Packages". Then in the popup I entered "Diffusers" and then restarted comfyUI. I then tried to reinstall the custom node and it loaded without errors.

Thanks for the help.

MokkaBoss1 avatar Mar 10 '24 14:03 MokkaBoss1

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !

thanksssssssssssssssssssssssssssss it's work for me

max140x avatar Mar 16 '24 08:03 max140x

yes works for me too now. For others looking here I went to the comfyui manager and in the experimental section (bottom left) I selected the option "Install PIP Packages". Then in the popup I entered "Diffusers" and then restarted comfyUI. I then tried to reinstall the custom node and it loaded without errors.

Thanks for the help.

i do than but without reinstall the node just restart comfyUi and it's work thanks bro

max140x avatar Mar 16 '24 08:03 max140x

Glad you made it work!

On Sat, 16 Mar 2024 at 08:55, max140x @.***> wrote:

yes works for me too now. For others looking here I went to the comfyui manager and in the experimental section (bottom left) I selected the option "Install PIP Packages". Then in the popup I entered "Diffusers" and then restarted comfyUI. I then tried to reinstall the custom node and it loaded without errors.

Thanks for the help.

i do than but without reinstall the node just restart comfyUi and it's work thanks bro

— Reply to this email directly, view it on GitHub https://github.com/huchenlei/ComfyUI-layerdiffuse/issues/43#issuecomment-2001917315, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAPFHJB7WLTVUSSHDXHPRXTYYQCGXAVCNFSM6AAAAABEM6YXO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHEYTOMZRGU . You are receiving this because you commented.Message ID: @.***>

MokkaBoss1 avatar Mar 16 '24 10:03 MokkaBoss1

Thank you so much, everyone. Got it working on my end thanks to this thread!

HotHams avatar Mar 16 '24 17:03 HotHams

Issue solved on my side by call a "pip install diffusers" with comfyui Manager/Install PIP Packages menu !

where is the "comfyui Manager/Install PIP Packages"

HardwayLinka avatar Apr 11 '24 07:04 HardwayLinka