SeaArtLab / ComfyUI-Long-CLIP

ComfyUI implementation of Long-CLIP
85 stars 7 forks source link

Not Loading in the current ComfyUI #9

Open Piscabo opened 2 months ago

Piscabo commented 2 months ago

I currently have this issue, don't know what is causing it? ComfyUI: 2324537f35 Manager: V2.44.1

Traceback (most recent call last): File "H:\ComfyUI\nodes.py", line 1906, 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 "H:\ComfyUI\custom_nodes\ComfyUI-Long-CLIP__init.py", line 1, in from . import long_clip as long_clip File "H:\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip.py", line 1, in from .long_clip_model import longclip File "H:\ComfyUI\custom_nodes\ComfyUI-Long-CLIP\long_clip_model\longclip.py", line 6, in from pkg_resources import packaging ImportError: cannot import name 'packaging' from 'pkg_resources' (C:\comfyVENV\Lib\site-packages\pkg_resources\init__.py)

image

KewkLW commented 2 months ago

Change from "pkg_resources import packaging" to "import packaging" in longclip.py

Piscabo commented 1 month ago

Change from "pkg_resources import packaging" to "import packaging" in longclip.py

Can someone just commit this change, every time I update I have to do this manually. Or is this repo no longer maintained?