2024-05-08 19:40:57,132- root:1894- WARNING- Traceback (most recent call last):
File "F:\ComfyUI\ComfyUI\nodes.py", line 1876, 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:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM__init.py", line 1, in
from . import YOLO_WORLD_EfficientSAM
File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 9, in
from inference.models import YOLOWorld
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference__init.py", line 1, in
from inference.core.interfaces.stream.stream import Stream # isort:skip
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\interfaces\stream\stream.py", line 13, in
from inference.core.active_learning.middlewares import (
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\active_learning\middlewares.py", line 7, in
from inference.core.active_learning.accounting import image_can_be_submitted_to_batch
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\active_learning\accounting.py", line 4, in
from inference.core.roboflow_api import (
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\roboflow_api.py", line 11, in
from inference.core.cache import cache
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\cache\init__.py", line 5, in
from inference.core.cache.redis import RedisCache
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\cache\redis.py", line 15, in
from inference.core.entities.responses.inference import InferenceResponseImage
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\entities\responses\inference.py", line 5, in
from pydantic import BaseModel, ConfigDict, Field, ValidationError, field_serializer
ImportError: cannot import name 'field_serializer' from 'pydantic' (F:\ComfyUI\python_embeded\Lib\site-packages\pydantic\init__.cp311-win_amd64.pyd)
2024-05-08 19:40:57,132- root:1894- WARNING- Traceback (most recent call last): File "F:\ComfyUI\ComfyUI\nodes.py", line 1876, 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:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM__init.py", line 1, in
from . import YOLO_WORLD_EfficientSAM
File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 9, in
from inference.models import YOLOWorld
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference__init.py", line 1, in
from inference.core.interfaces.stream.stream import Stream # isort:skip
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\interfaces\stream\stream.py", line 13, in
from inference.core.active_learning.middlewares import (
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\active_learning\middlewares.py", line 7, in
from inference.core.active_learning.accounting import image_can_be_submitted_to_batch
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\active_learning\accounting.py", line 4, in
from inference.core.roboflow_api import (
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\roboflow_api.py", line 11, in
from inference.core.cache import cache
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\cache\ init__.py", line 5, in
from inference.core.cache.redis import RedisCache
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\cache\redis.py", line 15, in
from inference.core.entities.responses.inference import InferenceResponseImage
File "F:\ComfyUI\python_embeded\Lib\site-packages\inference\core\entities\responses\inference.py", line 5, in
from pydantic import BaseModel, ConfigDict, Field, ValidationError, field_serializer
ImportError: cannot import name 'field_serializer' from 'pydantic' (F:\ComfyUI\python_embeded\Lib\site-packages\pydantic\ init__.cp311-win_amd64.pyd)