You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The node suite, installed it via ComfyUI Manager, fails to import due to the following error:
File "/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 "/ComfyUI/custom_nodes/ComfyUI-YoloWorld-EfficientSAM/init.py", line 1, in
from . import YOLO_WORLD_EfficientSAM
File "/ComfyUI/custom_nodes/ComfyUI-YoloWorld-EfficientSAM/YOLO_WORLD_EfficientSAM.py", line 9, in
from inference.models import YOLOWorld
ModuleNotFoundError: No module named 'inference'
Cannot import /ComfyUI/custom_nodes/ComfyUI-YoloWorld-EfficientSAM module for custom nodes: No module named 'inference'
I believe this is because I am on Apple M2 and the requirement.txt is looking for an inference-gpu package that is not available for macOS.
As I read on PyPI, perhaps the requirement can be modified to also install the inference package?
Thank you
The text was updated successfully, but these errors were encountered:
alessandroperilli
changed the title
No module named 'inference'
No module named 'inference' when installing on macOS
Feb 21, 2024
Hi. Thanks for this new great custom node!
The node suite, installed it via ComfyUI Manager, fails to import due to the following error:
I believe this is because I am on Apple M2 and the requirement.txt is looking for an
inference-gpu
package that is not available for macOS.As I read on PyPI, perhaps the requirement can be modified to also install the
inference
package?Thank you
The text was updated successfully, but these errors were encountered: