[GH-ISSUE #661] [Bug]: install the desktop,can not import Existing ComfyUI Directory #196

Closed
opened 2026-10-31 22:09:56 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @Lecho303 on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/661

App Version

hi there,i have try to do as this issue,then i got this:
Image
and i can not install,i have to try again,then show me one more time,and i click yes,then it can install,but the models in c: is gone,not in the desktop'file(i put it in F:)

Expected Behavior

can import Existing ComfyUI Directory

Actual Behavior

no

Steps to Reproduce

no

Debug Logs

no

Browser Logs

no

Image

Setting JSON

no

Other

no

┆Issue is synchronized with this Notion page by Unito

Originally created by @Lecho303 on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/661 ### App Version hi there,i have try to do as this issue,then i got this: ![Image](https://github.com/user-attachments/assets/93fb9f9a-8e93-4b54-bddb-ff6f717712e7)<!-- Uploading "屏幕截图 2025-01-17 183603.png"... --> and i can not install,i have to try again,then show me one more time,and i click yes,then it can install,but the models in c: is gone,not in the desktop'file(i put it in F:) ### Expected Behavior can import Existing ComfyUI Directory ### Actual Behavior no ### Steps to Reproduce no ### Debug Logs ```powershell no ``` ### Browser Logs no ![Image](https://github.com/user-attachments/assets/967eaeec-6c47-453d-99f0-0b7dbec6fe21) ### Setting JSON no ### Other no ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-661-Bug-install-the-desktop-can-not-import-Existing-ComfyUI-Directory-17e6d73d365081f885c8d375047b3a21) by [Unito](https://www.unito.io)
Author
Owner

@Lecho303 commented on GitHub (Jan 17, 2025):

and can not find the comfyui manager,i try to copy the files from the Existing ComfyUI Directory

<!-- gh-comment-id:2598072181 --> @Lecho303 commented on GitHub (Jan 17, 2025): and can not find the comfyui manager,i try to copy the files from the Existing ComfyUI Directory
Author
Owner

@robinjhuang commented on GitHub (Jan 18, 2025):

https://comfyorg.notion.site/ComfyUI-Desktop-User-Guide-1146d73d365080a49058e8d629772f0a#1486d73d365080999843ea13fda2fac1

Please upload log files! Will look into this

<!-- gh-comment-id:2599415268 --> @robinjhuang commented on GitHub (Jan 18, 2025): https://comfyorg.notion.site/ComfyUI-Desktop-User-Guide-1146d73d365080a49058e8d629772f0a#1486d73d365080999843ea13fda2fac1 Please upload log files! Will look into this
Author
Owner

@Lecho303 commented on GitHub (Jan 18, 2025):

https://comfyorg.notion.site/ComfyUI-Desktop-User-Guide-1146d73d365080a49058e8d629772f0a#1486d73d365080999843ea13fda2fac1

Please upload log files! Will look into this

logs:
[2025-01-17 18:40:35.705] [error] Adding extra search path checkpoints E:\stable-diffusion-webui\models/Stable-diffusion
Adding extra search path configs E:\stable-diffusion-webui\models/Stable-diffusion
Adding extra search path vae E:\stable-diffusion-webui\models/VAE
Adding extra search path loras E:\stable-diffusion-webui\models/Lora
Adding extra search path loras E:\stable-diffusion-webui\models/LyCORIS
Adding extra search path upscale_models E:\stable-diffusion-webui\models/ESRGAN
Adding extra search path upscale_models E:\stable-diffusion-webui\models/RealESRGAN
Adding extra search path upscale_models E:\stable-diffusion-webui\models/SwinIR
Adding extra search path embeddings E:\stable-diffusion-webui\embeddings
Adding extra search path hypernetworks E:\stable-diffusion-webui\models/hypernetworks
Adding extra search path controlnet E:\stable-diffusion-webui\models/ControlNet
Adding extra search path checkpoints D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\checkpoints
Adding extra search path classifiers D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\classifiers
Adding extra search path clip D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip
Adding extra search path clip_vision D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip_vision
Adding extra search path configs D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\configs
Adding extra search path controlnet D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\controlnet
Adding extra search path diffusers D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusers
Adding extra search path diffusion_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusion_models
Adding extra search path embeddings D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\embeddings
Adding extra search path gligen D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\gligen
Adding extra search path hypernetworks D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\hypernetworks
Adding extra search path loras D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\loras
Adding extra search path photomaker D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\photomaker
Adding extra search path style_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\style_models
Adding extra search path unet D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\unet
Adding extra search path upscale_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\upscale_models
Adding extra search path vae D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae
Adding extra search path vae_approx D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae_approx
Adding extra search path animatediff_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_models
Adding extra search path animatediff_motion_lora D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_motion_lora
Adding extra search path animatediff_video_formats D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_video_formats
Adding extra search path ipadapter D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\ipadapter
Adding extra search path liveportrait D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\liveportrait
Adding extra search path insightface D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\insightface
Adding extra search path layerstyle D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\layerstyle
Adding extra search path LLM D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\LLM
Adding extra search path Joy_caption D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\Joy_caption
Adding extra search path sams D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\sams
Adding extra search path blip D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\blip
Adding extra search path CogVideo D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\CogVideo
Adding extra search path xlabs D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\xlabs
Adding extra search path instantid D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\instantid
Adding extra search path checkpoints F:\comfyui-desktop\models\checkpoints
Adding extra search path classifiers F:\comfyui-desktop\models\classifiers
Adding extra search path clip F:\comfyui-desktop\models\clip
Adding extra search path clip_vision F:\comfyui-desktop\models\clip_vision
Adding extra search path configs F:\comfyui-desktop\models\configs
Adding extra search path controlnet F:\comfyui-desktop\models\controlnet
Adding extra search path diffusers F:\comfyui-desktop\models\diffusers
Adding extra search path diffusion_models F:\comfyui-desktop\models\diffusion_models
Adding extra search path embeddings F:\comfyui-desktop\models\embeddings
Adding extra search path gligen F:\comfyui-desktop\models\gligen
Adding extra search path hypernetworks F:\comfyui-desktop\models\hypernetworks
Adding extra search path loras F:\comfyui-desktop\models\loras
Adding extra search path photomaker F:\comfyui-desktop\models\photomaker
Adding extra search path style_models F:\comfyui-desktop\models\style_models
Adding extra search path unet F:\comfyui-desktop\models\unet
Adding extra search path upscale_models F:\comfyui-desktop\models\upscale_models
Adding extra search path vae F:\comfyui-desktop\models\vae
Adding extra search path vae_approx F:\comfyui-desktop\models\vae_approx
Adding extra search path animatediff_models F:\comfyui-desktop\models\animatediff_models
Adding extra search path animatediff_motion_lora F:\comfyui-desktop\models\animatediff_motion_lora
Adding extra search path animatediff_video_formats F:\comfyui-desktop\models\animatediff_video_formats
Adding extra search path ipadapter F:\comfyui-desktop\models\ipadapter
Adding extra search path liveportrait F:\comfyui-desktop\models\liveportrait
Adding extra search path insightface F:\comfyui-desktop\models\insightface
Adding extra search path layerstyle F:\comfyui-desktop\models\layerstyle
Adding extra search path LLM F:\comfyui-desktop\models\LLM
Adding extra search path Joy_caption F:\comfyui-desktop\models\Joy_caption
Adding extra search path sams F:\comfyui-desktop\models\sams
Adding extra search path blip F:\comfyui-desktop\models\blip
Adding extra search path CogVideo F:\comfyui-desktop\models\CogVideo
Adding extra search path xlabs F:\comfyui-desktop\models\xlabs
Adding extra search path instantid F:\comfyui-desktop\models\instantid
Adding extra search path custom_nodes F:\comfyui-desktop\custom_nodes/
Adding extra search path download_model_base F:\comfyui-desktop\models
Setting output directory to: F:\comfyui-desktop\output
Setting input directory to: F:\comfyui-desktop\input
Setting user directory to: F:\comfyui-desktop\user

[2025-01-17 18:40:38.106] [error] Failed to execute startup-script: C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|silent|none|n|0: for no message or exception
- warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
- error|e|exception|raise|r|2: for a raised exception

Example:
export GIT_PYTHON_REFRESH=quiet

[2025-01-17 18:40:38.108] [error]
Prestartup times for custom nodes:
2.4 seconds (PRESTARTUP FAILED): C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager

[2025-01-17 18:40:41.829] [error] Total VRAM 6144 MB, total RAM 32461 MB
pytorch version: 2.5.1+cu121

[2025-01-17 18:40:41.830] [error] Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 Laptop GPU : cudaMallocAsync

[2025-01-17 18:40:44.835] [error] Using pytorch attention

[2025-01-17 18:40:50.024] [error] [Prompt Server] web root: C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app

[2025-01-17 18:40:52.864] [error] Traceback (most recent call last):
File "F:\comfyui-desktop.venv\Lib\site-packages\git_init_.py", line 296, in
refresh()
File "F:\comfyui-desktop.venv\Lib\site-packages\git_init_.py", line 287, in refresh
if not Git.refresh(path=path):
^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfyui-desktop.venv\Lib\site-packages\git\cmd.py", line 631, in refresh
raise ImportError(err)
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|silent|none|n|0: for no message or exception
- warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
- error|e|exception|raise|r|2: for a raised exception

Example:
export GIT_PYTHON_REFRESH=quiet

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager_init
.py", line 8, in
import manager_server
File "C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 13, in
import git
File "F:\comfyui-desktop.venv\Lib\site-packages\git_init_.py", line 298, in
raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|silent|none|n|0: for no message or exception
- warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
- error|e|exception|raise|r|2: for a raised exception

Example:
export GIT_PYTHON_REFRESH=quiet

Cannot import C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager module for custom nodes: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|silent|none|n|0: for no message or exception
- warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
- error|e|exception|raise|r|2: for a raised exception

Example:
export GIT_PYTHON_REFRESH=quiet

[2025-01-17 18:40:52.877] [error]
Import times for custom nodes:
0.0 seconds: C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py

[2025-01-17 18:40:52.881] [error] 0.1 seconds (IMPORT FAILED): C:\Users\ningl\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager

[2025-01-17 18:40:52.885] [error] Starting server

To see the GUI go to: http://127.0.0.1:8000

[2025-01-17 18:45:44.081] [error] Failed to get ComfyUI version: [WinError 2] 系统找不到指定的文件。

<!-- gh-comment-id:2599562733 --> @Lecho303 commented on GitHub (Jan 18, 2025): > https://comfyorg.notion.site/ComfyUI-Desktop-User-Guide-1146d73d365080a49058e8d629772f0a#1486d73d365080999843ea13fda2fac1 > > Please upload log files! Will look into this logs: [2025-01-17 18:40:35.705] [error] Adding extra search path checkpoints E:\stable-diffusion-webui\models/Stable-diffusion Adding extra search path configs E:\stable-diffusion-webui\models/Stable-diffusion Adding extra search path vae E:\stable-diffusion-webui\models/VAE Adding extra search path loras E:\stable-diffusion-webui\models/Lora Adding extra search path loras E:\stable-diffusion-webui\models/LyCORIS Adding extra search path upscale_models E:\stable-diffusion-webui\models/ESRGAN Adding extra search path upscale_models E:\stable-diffusion-webui\models/RealESRGAN Adding extra search path upscale_models E:\stable-diffusion-webui\models/SwinIR Adding extra search path embeddings E:\stable-diffusion-webui\embeddings Adding extra search path hypernetworks E:\stable-diffusion-webui\models/hypernetworks Adding extra search path controlnet E:\stable-diffusion-webui\models/ControlNet Adding extra search path checkpoints D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\checkpoints\ Adding extra search path classifiers D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\classifiers\ Adding extra search path clip D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip\ Adding extra search path clip_vision D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip_vision\ Adding extra search path configs D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\configs\ Adding extra search path controlnet D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\controlnet\ Adding extra search path diffusers D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusers\ Adding extra search path diffusion_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusion_models\ Adding extra search path embeddings D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\embeddings\ Adding extra search path gligen D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\gligen\ Adding extra search path hypernetworks D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\hypernetworks\ Adding extra search path loras D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\loras\ Adding extra search path photomaker D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\photomaker\ Adding extra search path style_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\style_models\ Adding extra search path unet D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\unet\ Adding extra search path upscale_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\upscale_models\ Adding extra search path vae D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae\ Adding extra search path vae_approx D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae_approx\ Adding extra search path animatediff_models D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_models\ Adding extra search path animatediff_motion_lora D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_motion_lora\ Adding extra search path animatediff_video_formats D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_video_formats\ Adding extra search path ipadapter D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\ipadapter\ Adding extra search path liveportrait D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\liveportrait\ Adding extra search path insightface D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\insightface\ Adding extra search path layerstyle D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\layerstyle\ Adding extra search path LLM D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\LLM\ Adding extra search path Joy_caption D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\Joy_caption\ Adding extra search path sams D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\sams\ Adding extra search path blip D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\blip\ Adding extra search path CogVideo D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\CogVideo\ Adding extra search path xlabs D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\xlabs\ Adding extra search path instantid D:\C\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\instantid\ Adding extra search path checkpoints F:\comfyui-desktop\models\checkpoints\ Adding extra search path classifiers F:\comfyui-desktop\models\classifiers\ Adding extra search path clip F:\comfyui-desktop\models\clip\ Adding extra search path clip_vision F:\comfyui-desktop\models\clip_vision\ Adding extra search path configs F:\comfyui-desktop\models\configs\ Adding extra search path controlnet F:\comfyui-desktop\models\controlnet\ Adding extra search path diffusers F:\comfyui-desktop\models\diffusers\ Adding extra search path diffusion_models F:\comfyui-desktop\models\diffusion_models\ Adding extra search path embeddings F:\comfyui-desktop\models\embeddings\ Adding extra search path gligen F:\comfyui-desktop\models\gligen\ Adding extra search path hypernetworks F:\comfyui-desktop\models\hypernetworks\ Adding extra search path loras F:\comfyui-desktop\models\loras\ Adding extra search path photomaker F:\comfyui-desktop\models\photomaker\ Adding extra search path style_models F:\comfyui-desktop\models\style_models\ Adding extra search path unet F:\comfyui-desktop\models\unet\ Adding extra search path upscale_models F:\comfyui-desktop\models\upscale_models\ Adding extra search path vae F:\comfyui-desktop\models\vae\ Adding extra search path vae_approx F:\comfyui-desktop\models\vae_approx\ Adding extra search path animatediff_models F:\comfyui-desktop\models\animatediff_models\ Adding extra search path animatediff_motion_lora F:\comfyui-desktop\models\animatediff_motion_lora\ Adding extra search path animatediff_video_formats F:\comfyui-desktop\models\animatediff_video_formats\ Adding extra search path ipadapter F:\comfyui-desktop\models\ipadapter\ Adding extra search path liveportrait F:\comfyui-desktop\models\liveportrait\ Adding extra search path insightface F:\comfyui-desktop\models\insightface\ Adding extra search path layerstyle F:\comfyui-desktop\models\layerstyle\ Adding extra search path LLM F:\comfyui-desktop\models\LLM\ Adding extra search path Joy_caption F:\comfyui-desktop\models\Joy_caption\ Adding extra search path sams F:\comfyui-desktop\models\sams\ Adding extra search path blip F:\comfyui-desktop\models\blip\ Adding extra search path CogVideo F:\comfyui-desktop\models\CogVideo\ Adding extra search path xlabs F:\comfyui-desktop\models\xlabs\ Adding extra search path instantid F:\comfyui-desktop\models\instantid\ Adding extra search path custom_nodes F:\comfyui-desktop\custom_nodes/ Adding extra search path download_model_base F:\comfyui-desktop\models Setting output directory to: F:\comfyui-desktop\output Setting input directory to: F:\comfyui-desktop\input Setting user directory to: F:\comfyui-desktop\user [2025-01-17 18:40:38.106] [error] Failed to execute startup-script: C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh(<full-path-to-git-executable>) All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet [2025-01-17 18:40:38.108] [error] Prestartup times for custom nodes: 2.4 seconds (PRESTARTUP FAILED): C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager [2025-01-17 18:40:41.829] [error] Total VRAM 6144 MB, total RAM 32461 MB pytorch version: 2.5.1+cu121 [2025-01-17 18:40:41.830] [error] Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Laptop GPU : cudaMallocAsync [2025-01-17 18:40:44.835] [error] Using pytorch attention [2025-01-17 18:40:50.024] [error] [Prompt Server] web root: C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app [2025-01-17 18:40:52.864] [error] Traceback (most recent call last): File "F:\comfyui-desktop\.venv\Lib\site-packages\git\__init__.py", line 296, in <module> refresh() File "F:\comfyui-desktop\.venv\Lib\site-packages\git\__init__.py", line 287, in refresh if not Git.refresh(path=path): ^^^^^^^^^^^^^^^^^^^^^^ File "F:\comfyui-desktop\.venv\Lib\site-packages\git\cmd.py", line 631, in refresh raise ImportError(err) ImportError: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh(<full-path-to-git-executable>) All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2089, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\__init__.py", line 8, in <module> import manager_server File "C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 13, in <module> import git File "F:\comfyui-desktop\.venv\Lib\site-packages\git\__init__.py", line 298, in <module> raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh(<full-path-to-git-executable>) All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet Cannot import C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager module for custom nodes: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh(<full-path-to-git-executable>) All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet [2025-01-17 18:40:52.877] [error] Import times for custom nodes: 0.0 seconds: C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py [2025-01-17 18:40:52.881] [error] 0.1 seconds (IMPORT FAILED): C:\Users\ningl\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager [2025-01-17 18:40:52.885] [error] Starting server To see the GUI go to: http://127.0.0.1:8000 [2025-01-17 18:45:44.081] [error] Failed to get ComfyUI version: [WinError 2] 系统找不到指定的文件。
Author
Owner

@robinjhuang commented on GitHub (Jan 23, 2025):

Seems like you are missing git?

Can you try installing here: https://git-scm.com/downloads

<!-- gh-comment-id:2610991981 --> @robinjhuang commented on GitHub (Jan 23, 2025): Seems like you are missing git? Can you try installing here: https://git-scm.com/downloads
Author
Owner

@Lecho303 commented on GitHub (Jan 24, 2025):

Seems like you are missing git?

Can you try installing here: https://git-scm.com/downloads

but my laptop have git,the version is 2.47.i will try to install it again

Image

<!-- gh-comment-id:2612017613 --> @Lecho303 commented on GitHub (Jan 24, 2025): > Seems like you are missing git? > > Can you try installing here: https://git-scm.com/downloads but my laptop have git,the version is 2.47.i will try to install it again ![Image](https://github.com/user-attachments/assets/fc9c9432-9c3d-4149-a1ba-5b2ad5b64228)
Author
Owner

@Lecho303 commented on GitHub (Jan 24, 2025):

好像你缺少 git?

您可以尝试在此处安装:https: //git-scm.com/downloads

the newest version can run now,than u so much

<!-- gh-comment-id:2612109873 --> @Lecho303 commented on GitHub (Jan 24, 2025): > 好像你缺少 git? > > 您可以尝试在此处安装:https: [//git-scm.com/downloads](https://git-scm.com/downloads) the newest version can run now,than u so much
Author
Owner

@webfiltered commented on GitHub (Feb 9, 2025):

This error has been replaced by the troubleshooting / maintenance page, which allows changing of the path.

<!-- gh-comment-id:2646110710 --> @webfiltered commented on GitHub (Feb 9, 2025): This error has been replaced by the troubleshooting / maintenance page, which allows changing of the path.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#196
No description provided.