2024-09-05 14:40:44,766- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'segment_anything' #414
Labels
bug
Something isn't working
First, confirm
What happened?
After the download is completed, comfyui startup error is reported, and other nodes have related segment_anything, and some start to report errors, because I am downloading at the same time, I can't judge whether it is another problem, I use pip show segment_anything the dependency, and find that this dependency exists
Name: segment_anything
Version: 1.0
Summary:
Home-page:
Author:
Author-email:
License:
Location: C:\Users\PC\miniconda3\Lib\site-packages
Editable project location: D:\comfyui\ComfyUI\custom_nodes\segment-anything-main
Requires:
Required-by:
2024-09-05 14:51:41,348- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\comfyui_segment_anything module for custom nodes: No module named 'segment_anything'
2024-09-05 14:51:41,337- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle module for custom nodes: No module named 'segment_anything'
import D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'segment_anything'
ComfyUI-Impact-Pack module for custom nodes: No module named 'segment_anything'
Steps to reproduce the problem
File "D:\comfyui\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle_init.py", line 60, in
imported_module = importlib.import_module(".py.{}".format(name), name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\PC\miniconda3\Lib\importlib_init_.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\image_auto_crop.py", line 2, in
from .segment_anything_func import *
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\segment_anything_func.py", line 16, in
from sam_hq.predictor import SamPredictorHQ
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\sam_hq\predictor.py", line 4, in
from segment_anything import SamPredictor
ModuleNotFoundError: No module named 'segment_anything'
2024-09-05 14:51:41,337- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle module for custom nodes: No module named 'segment_anything'
2024-09-05 14:51:41,347- root:2012- WARNING- Traceback (most recent call last):
File "D:\comfyui\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\comfyui\ComfyUI\custom_nodes\comfyui_segment_anything_init.py", line 1, in
from .node import *
File "D:\comfyui\ComfyUI\custom_nodes\comfyui_segment_anything\node.py", line 16, in
from sam_hq.predictor import SamPredictorHQ
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\sam_hq\predictor.py", line 4, in
from segment_anything import SamPredictor
ModuleNotFoundError: No module named 'segment_anything'
2024-09-05 14:51:41,348- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\comfyui_segment_anything module for custom nodes: No module named 'segment_anything'
2024-09-05 14:51:38,842- root:2012- WARNING- Traceback (most recent call last):
File "D:\comfyui\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node_init.py", line 23, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 16, in
from segment_anything import sam_model_registry
ModuleNotFoundError: No module named 'segment_anything'
2024-09-05 14:51:38,842- root:2013- WARNING- Cannot import D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'segment_anything'
ComfyUI-Impact-Pack: Check basic models
Traceback (most recent call last):
File "D:\comfyui\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Impact-Pack_init.py", line 72, in
import impact.impact_server # to load server api
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\impact_server.py", line 12, in
import impact.core as core
File "D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\core.py", line 7, in
from segment_anything import SamPredictor
ModuleNotFoundError: No module named 'segment_anything'
Cannot import D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Impact-Pack module for custom nodes: No module named 'segment_anything'
Sysinfo
comfyui Windows 10 edge 4070 python12 cu124
2024-09-05 14:51:43,690- root:2043- INFO-
mport times for custom nodes:
2024-09-05 14:51:43,690- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\AIGODLIKE-COMFYUI-TRANSLATION
2024-09-05 14:51:43,690- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\websocket_image_save.py
2024-09-05 14:51:43,690- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\cg-use-everywhere
2024-09-05 14:51:43,690- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_ADV_CLIP_emb
2024-09-05 14:51:43,690- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-BRIA_AI-RMBG
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-IC-Light-Native
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_toyxyz_test_nodes-main
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\sdxl_prompt_styler
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_experiments
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Video-Matting
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\comfyui-inpaint-nodes
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_JPS-Nodes
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2024-09-05 14:51:43,691- root:2049- INFO- 0.0 seconds (IMPORT FAILED): D:\comfyui\ComfyUI\custom_nodes\comfyui-reactor-node
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyMath-main
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_FizzNodes
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-MimicMotionWrapper
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\steerable-motion
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_essentials
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-KJNodes-main
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation
2024-09-05 14:51:43,692- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\x-flux-comfyui-main
2024-09-05 14:51:43,693- root:2049- INFO- 0.0 seconds (IMPORT FAILED): D:\comfyui\ComfyUI\custom_nodes\comfyui_segment_anything
2024-09-05 14:51:43,693- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-BiRefNet-ZHO
2024-09-05 14:51:43,693- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
2024-09-05 14:51:43,693- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-segment-anything-2
2024-09-05 14:51:43,694- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-GGUF
2024-09-05 14:51:43,694- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-09-05 14:51:43,694- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2024-09-05 14:51:43,694- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\rgthree-comfy
2024-09-05 14:51:43,694- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-IC-Light
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\efficiency-nodes-comfyui-main
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-ControlNeXt-SVD
2024-09-05 14:51:43,695- root:2049- INFO- 0.0 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
2024-09-05 14:51:43,696- root:2049- INFO- 0.1 seconds: D:\comfyui\ComfyUI\custom_nodes\comfyui-sixgod_prompt
2024-09-05 14:51:43,696- root:2049- INFO- 0.1 seconds: D:\comfyui\ComfyUI\custom_nodes\comfy_mtb-main
2024-09-05 14:51:43,696- root:2049- INFO- 0.1 seconds (IMPORT FAILED): D:\comfyui\ComfyUI\custom_nodes\ComfyUI_LayerStyle
2024-09-05 14:51:43,696- root:2049- INFO- 0.1 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-SAM2
2024-09-05 14:51:43,696- root:2049- INFO- 0.1 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite-main
2024-09-05 14:51:43,697- root:2049- INFO- 0.1 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-09-05 14:51:43,697- root:2049- INFO- 0.2 seconds: D:\comfyui\ComfyUI\custom_nodes\comfyui_dagthomas
2024-09-05 14:51:43,697- root:2049- INFO- 0.3 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-InstantID
2024-09-05 14:51:43,697- root:2049- INFO- 0.4 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-SUPIR-main
2024-09-05 14:51:43,697- root:2049- INFO- 0.4 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Easy-Use-main
2024-09-05 14:51:43,697- root:2049- INFO- 0.5 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Manager
2024-09-05 14:51:43,698- root:2049- INFO- 0.5 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-fastblend-main
2024-09-05 14:51:43,698- root:2049- INFO- 0.7 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-APISR
2024-09-05 14:51:43,698- root:2049- INFO- 0.7 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-MuseV
2024-09-05 14:51:43,698- root:2049- INFO- 1.4 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-09-05 14:51:43,698- root:2049- INFO- 1.8 seconds: D:\comfyui\ComfyUI\custom_nodes\comfyui-mixlab-nodes
2024-09-05 14:51:43,698- root:2049- INFO- 2.2 seconds: D:\comfyui\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-09-05 14:51:43,698- root:2049- INFO- 2.9 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-BrushNet-main
2024-09-05 14:51:43,698- root:2049- INFO- 7.9 seconds (IMPORT FAILED): D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-09-05 14:51:43,698- root:2049- INFO- 8.7 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-MuseTalk
2024-09-05 14:51:43,698- root:2049- INFO- 8.9 seconds: D:\comfyui\ComfyUI\custom_nodes\ComfyUI-Inspyrenet-Rembg-main
2024-09-05 14:51:43,699- root:2050- INFO-
2024-09-05 14:51:43,711- root:532- INFO-
2024-09-05 14:51:43,712- root:533- INFO-
Relevant console log
Additional information
No response
The text was updated successfully, but these errors were encountered: