Nuked88 / ComfyUI-N-Nodes

A suite of custom nodes for ConfyUI that includes GPT text-prompt generation, LoadVideo, SaveVideo, LoadFramesFromFolder and FrameInterpolator
MIT License
205 stars 22 forks source link

Import failed #63

Open KT9000 opened 4 months ago

KT9000 commented 4 months ago

It failed to install, retried but failed again. Any idea why that is?

This is the log from restart, installation via the manager and another restart:

[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-06-28 22:27:06.155663
** Platform: Windows
** Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
** Python executable: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\main.py
** Log path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes:
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   1.8 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8192 MB, total RAM 32725 MB
pytorch version: 2.3.0+cu121
xformers version: 0.0.26.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1070 : cudaMallocAsync
Using xformers cross attention
[Crystools INFO] Crystools version: 1.12.0
[Crystools INFO] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz - Arch: AMD64 - OS: Windows 10
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce GTX 1070
[Crystools INFO] NVIDIA Driver: 555.85
### Loading: ComfyUI-Impact-Pack (V5.18.4)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.6)
### Loading: ComfyUI-Inspire-Pack (V0.80.4)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Manager (V2.43)
### ComfyUI Revision: 2304 [7ecb2ec1] | Released on '2024-06-28'
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------
[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[comfyui_controlnet_aux] | INFO -> Using symlinks: False
[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json

[rgthree] Loaded 40 epic nodes.
[rgthree] Will use rgthree's optimized recursive execution.

Import times for custom nodes:
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\image-resize-comfyui
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\Lora-Training-in-Comfy
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\Image-Captioning-in-ComfyUI
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.1 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
   0.1 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.4 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-DiffusersStableCascade
   0.4 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
   0.7 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
   4.6 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [DONE]
FETCH DATA from: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\custom-node-list.json [DONE]
FETCH DATA from: https://github.com/ltdrdata/ComfyUI-Manager/raw/main/custom-node-list.json/custom-node-list.json[ComfyUI-Manager] Due to a network error, switching to local mode.
=> custom-node-list.json
=> Expecting value: line 7 column 1 (char 6)
FETCH DATA from: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\custom-node-list.json [DONE]
Install custom node 'ComfyUI-N-Nodes'
Install: ['https://github.com/Nuked88/ComfyUI-N-Nodes']
Download: git clone 'https://github.com/Nuked88/ComfyUI-N-Nodes'
[!]
100%|██████████| 164.0/164.0 [00:00<00:00, 170.37it/s]
100%|██████████| 164.0/164.0 [00:00<00:00, 170.37it/s]
100%|██████████| 122.0/122.0 [00:00<00:00, 124.86it/s]
100%|██████████| 122.0/122.0 [00:00<00:00, 124.73it/s]
100%|██████████| 421.0/421.0 [00:01<00:00, 370.20it/s]
100%|██████████| 421.0/421.0 [00:01<00:00, 370.20it/s]
100%|██████████| 241.0/241.0 [00:01<00:00, 210.02it/s]
100%|██████████| 241.0/241.0 [00:01<00:00, 210.02it/s]
100%|██████████| 241.0/241.0 [00:02<00:00, 105.84it/s]
Install: pip packages
Installation was successful.
After restarting ComfyUI, please refresh the browser.

Restarting... [Legacy Mode]

[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-06-28 22:28:31.540472
** Platform: Windows
** Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
** Python executable: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\main.py
** Log path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\comfyui.log

#######################################################################
[ComfyUI-Manager] Starting dependency installation/(de)activation for the extension

## ComfyUI-Manager: EXECUTE => ['C:\\Users\\kaimo\\Downloads\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-m', 'pip', 'install', 'gitpython']

## Execute install/(de)activation script for 'C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes'

[ComfyUI-Manager] Startup script completed.
#######################################################################

Prestartup times for custom nodes:
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   5.5 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8192 MB, total RAM 32725 MB
pytorch version: 2.3.0+cu121
xformers version: 0.0.26.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1070 : cudaMallocAsync
Using xformers cross attention
[Crystools INFO] Crystools version: 1.12.0
[Crystools INFO] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz - Arch: AMD64 - OS: Windows 10
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce GTX 1070
[Crystools INFO] NVIDIA Driver: 555.85
### Loading: ComfyUI-Impact-Pack (V5.18.4)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.6)
### Loading: ComfyUI-Inspire-Pack (V0.80.4)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Manager (V2.43)
### ComfyUI Revision: 2304 [7ecb2ec1] | Released on '2024-06-28'
------------------------------------------
### N-Suite Revision: ab4af9de
Current version of packaging: 24.0
Version of cpuinfo: Not found
Current version of git: 3.1.43
Current version of moviepy: 1.0.3
Current version of cv2: 4.9.0
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Current version of skbuild: 0.18.0
Version of typing: Not found
Current version of diskcache: 5.6.3
Current version of llama_cpp: 0.2.26+cu121
Traceback (most recent call last):
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1906, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes\__init__.py", line 27, in <module>
    check_and_install('timm',"timm","0.9.12",reboot=True)
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes\nnodes.py", line 145, in check_and_install
    library_module = importlib.import_module(import_name)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\__init__.py", line 2, in <module>
    from .models import create_model, list_models, is_model, list_modules, model_entrypoint, \
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\__init__.py", line 28, in <module>
    from .maxxvit import *
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\maxxvit.py", line 225, in <module>
    @dataclass
     ^^^^^^^^^
  File "dataclasses.py", line 1230, in dataclass
  File "dataclasses.py", line 1220, in wrap
  File "dataclasses.py", line 958, in _process_class
  File "dataclasses.py", line 815, in _get_field
ValueError: mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory

Cannot import C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes module for custom nodes: mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------
[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[comfyui_controlnet_aux] | INFO -> Using symlinks: False
[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
Traceback (most recent call last):
  File "C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1906, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 936, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1073, in get_code
  File "<frozen importlib._bootstrap_external>", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\kaimo\\Downloads\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\huggingface\\__init__.py'

Cannot import C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\huggingface module for custom nodes: [Errno 2] No such file or directory: 'C:\\Users\\kaimo\\Downloads\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\huggingface\\__init__.py'

[rgthree] Loaded 40 fantastic nodes.
[rgthree] Will use rgthree's optimized recursive execution.

Import times for custom nodes:
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds (IMPORT FAILED): C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\huggingface
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\Lora-Training-in-Comfy
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\Image-Captioning-in-ComfyUI
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\image-resize-comfyui
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.0 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.1 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
   0.3 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-DiffusersStableCascade
   0.4 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
   0.7 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
   1.1 seconds (IMPORT FAILED): C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes
   4.6 seconds: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: C:\Users\kaimo\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]