mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #661] [Bug]: install the desktop,can not import Existing ComfyUI Directory #196
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:

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
Browser Logs
no
Setting JSON
no
Other
no
┆Issue is synchronized with this Notion page by Unito
@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
@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
@Lecho303 commented on GitHub (Jan 18, 2025):
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] 系统找不到指定的文件。
@robinjhuang commented on GitHub (Jan 23, 2025):
Seems like you are missing git?
Can you try installing here: https://git-scm.com/downloads
@Lecho303 commented on GitHub (Jan 24, 2025):
but my laptop have git,the version is 2.47.i will try to install it again
@Lecho303 commented on GitHub (Jan 24, 2025):
the newest version can run now,than u so much
@webfiltered commented on GitHub (Feb 9, 2025):
This error has been replaced by the troubleshooting / maintenance page, which allows changing of the path.