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

Is there any fix to this issue, please help. #80

Open
rajeewa47 opened this issue Jul 20, 2024 · 0 comments
Open

Is there any fix to this issue, please help. #80

rajeewa47 opened this issue Jul 20, 2024 · 0 comments

Comments

@rajeewa47
Copy link

Error occurred when executing Yoloworld_ESAM_Zho:

cannot import name 'packaging' from 'pkg_resources' (C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pkg_resources_init_.py)

File "C:\Ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Ai\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Ai\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 139, in yoloworld_esam_image
YOLO_WORLD_MODEL.set_classes(categories)
File "C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\inference\models\yolo_world\yolo_world.py", line 133, in set_classes
self.model.set_classes(text)
File "C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 97, in set_classes
self.model.set_classes(classes)
File "C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 608, in set_classes
import clip
File "C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip_init_.py", line 1, in
from .clip import *
File "C:\Ai\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip\clip.py", line 6, in
from pkg_resources import packaging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant