[GH-ISSUE #840] [Bug]: Installation ERROR #237

Closed
opened 2026-10-31 22:10:26 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @hiwanz on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/840

App Version

v0.4.16

Expected Behavior

Finish installation properly

Actual Behavior

Unable to finish installation

Steps to Reproduce

Install app with all default setting

Debug Logs

[2025-02-06 20:16:26.565] [info]  Starting app v0.4.16
[2025-02-06 20:16:26.981] [info]  Settings file /Users/hiwanz/ComfyUI/user/default/comfy.settings.json does not exist. Using default settings.
[2025-02-06 20:16:26.981] [info]  Using uv at /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv
[2025-02-06 20:16:26.981] [info]  Install state: started
[2025-02-06 20:16:26.981] [info]  Starting installation.
[2025-02-06 20:16:33.199] [error] URL access timed out https://github.com/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256
[2025-02-06 20:16:33.201] [error] Error checking URL access: https://github.com/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256 Error: socket hang up
    at TLSSocket.socketCloseListener (node:_http_client:473:25)
    at TLSSocket.emit (node:events:531:35)
    at node:net:338:12
    at TCP.done (node:_tls_wrap:657:7)
[2025-02-06 20:16:35.208] [error] Error checking URL access: https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256 Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20)
[2025-02-06 20:16:37.202] [info]  Creating ComfyUI directories in /Users/hiwanz/ComfyUI
[2025-02-06 20:16:37.203] [info]  Created directory: /Users/hiwanz/ComfyUI/custom_nodes
[2025-02-06 20:16:37.203] [info]  Created directory: /Users/hiwanz/ComfyUI/input
[2025-02-06 20:16:37.203] [info]  Created directory: /Users/hiwanz/ComfyUI/output
[2025-02-06 20:16:37.203] [info]  Created directory: /Users/hiwanz/ComfyUI/user
[2025-02-06 20:16:37.203] [info]  Created directory: /Users/hiwanz/ComfyUI/user/default
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/checkpoints
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/clip
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/clip_vision
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/configs
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/controlnet
[2025-02-06 20:16:37.204] [info]  Created directory: /Users/hiwanz/ComfyUI/models/diffusers
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/diffusion_models
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/embeddings
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/gligen
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/hypernetworks
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/loras
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/photomaker
[2025-02-06 20:16:37.205] [info]  Created directory: /Users/hiwanz/ComfyUI/models/style_models
[2025-02-06 20:16:37.206] [info]  Created directory: /Users/hiwanz/ComfyUI/models/unet
[2025-02-06 20:16:37.206] [info]  Created directory: /Users/hiwanz/ComfyUI/models/upscale_models
[2025-02-06 20:16:37.206] [info]  Created directory: /Users/hiwanz/ComfyUI/models/vae
[2025-02-06 20:16:37.206] [info]  Created directory: /Users/hiwanz/ComfyUI/models/vae_approx
[2025-02-06 20:16:37.206] [info]  Created directory: /Users/hiwanz/ComfyUI/models/animatediff_models
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/animatediff_motion_lora
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/animatediff_video_formats
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/liveportrait
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/insightface
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/insightface/buffalo_1
[2025-02-06 20:16:37.207] [info]  Created directory: /Users/hiwanz/ComfyUI/models/blip
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/blip/checkpoints
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/CogVideo
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/xlabs
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/xlabs/loras
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/xlabs/controlnets
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/layerstyle
[2025-02-06 20:16:37.208] [info]  Created directory: /Users/hiwanz/ComfyUI/models/LLM
[2025-02-06 20:16:37.209] [info]  Created directory: /Users/hiwanz/ComfyUI/models/Joy_caption
[2025-02-06 20:16:37.209] [info]  Wrote settings to /Users/hiwanz/ComfyUI/user/default/comfy.settings.json: {
  "Comfy-Desktop.AutoUpdate": true,
  "Comfy-Desktop.SendStatistics": true,
  "Comfy.ColorPalette": "dark",
  "Comfy.UseNewMenu": "Top",
  "Comfy.Workflow.WorkflowTabsPosition": "Topbar",
  "Comfy.Workflow.ShowMissingModelsWarning": true,
  "Comfy.Server.LaunchArgs": {},
  "Comfy-Desktop.UV.PythonInstallMirror": "https://bgithub.xyz/astral-sh/python-build-standalone/releases/download",
  "Comfy-Desktop.UV.PypiInstallMirror": "https://pypi.org/simple/",
  "Comfy-Desktop.UV.TorchInstallMirror": "https://download.pytorch.org/whl/nightly/cpu"
}
[2025-02-06 20:16:37.209] [info]  Creating model config files in /Users/hiwanz/Library/Application Support/ComfyUI/extra_models_config.yaml
[2025-02-06 20:16:37.214] [info]  Created extra_model_paths.yaml at /Users/hiwanz/Library/Application Support/ComfyUI/extra_models_config.yaml
[2025-02-06 20:16:37.216] [info]  Using uv at /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv
[2025-02-06 20:16:37.217] [info]  Creating virtual environment at /Users/hiwanz/ComfyUI/.venv with python 3.12
[2025-02-06 20:16:37.217] [info]  Running uv command: /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12
[2025-02-06 20:16:37.219] [info]  /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" "3.12"
echo "_-end-1738844197217:$?"

[2025-02-06 20:16:37.247] [info]  Received renderer-ready message!
[2025-02-06 20:16:37.247] [info]  Sending queued message  loading-progress { status: 'python-setup' }
[2025-02-06 20:16:37.248] [info]  Sending queued message  log-message /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" "3.12"
echo "_-end-1738844197217:$?"

[2025-02-06 20:16:37.467] [info]  %                                                                               
 
[2025-02-06 20:16:37.468] [info]  ]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI
[2025-02-06 20:16:37.500] [info]  
➜  ComfyUI 
[2025-02-06 20:16:37.500] [info]  /
[2025-02-06 20:16:37.500] [info]  /A
[2025-02-06 20:16:37.500] [info]  p
[2025-02-06 20:16:37.501] [info]  p
[2025-02-06 20:16:37.501] [info]  l
[2025-02-06 20:16:37.501] [info]  i
[2025-02-06 20:16:37.502] [info]  c
[2025-02-06 20:16:37.502] [info]  a
[2025-02-06 20:16:37.502] [info]  t
[2025-02-06 20:16:37.502] [info]  i
[2025-02-06 20:16:37.503] [info]  o
[2025-02-06 20:16:37.503] [info]  n
[2025-02-06 20:16:37.503] [info]  s
[2025-02-06 20:16:37.503] [info]  /
[2025-02-06 20:16:37.504] [info]  C
[2025-02-06 20:16:37.504] [info]  o
[2025-02-06 20:16:37.504] [info]  m
[2025-02-06 20:16:37.504] [info]  f
[2025-02-06 20:16:37.505] [info]  y
[2025-02-06 20:16:37.505] [info]  U
[2025-02-06 20:16:37.505] [info]  I
[2025-02-06 20:16:37.506] [info]  .
[2025-02-06 20:16:37.506] [info]  a
[2025-02-06 20:16:37.506] [info]  p
[2025-02-06 20:16:37.506] [info]  p
[2025-02-06 20:16:37.507] [info]  /
[2025-02-06 20:16:37.507] [info]  C
[2025-02-06 20:16:37.507] [info]  o
[2025-02-06 20:16:37.507] [info]  n
[2025-02-06 20:16:37.508] [info]  t
[2025-02-06 20:16:37.508] [info]  e
[2025-02-06 20:16:37.508] [info]  n
[2025-02-06 20:16:37.508] [info]  t
[2025-02-06 20:16:37.509] [info]  s
[2025-02-06 20:16:37.509] [info]  /
[2025-02-06 20:16:37.509] [info]  R
[2025-02-06 20:16:37.509] [info]  e
[2025-02-06 20:16:37.510] [info]  s
[2025-02-06 20:16:37.510] [info]  o
[2025-02-06 20:16:37.510] [info]  u
[2025-02-06 20:16:37.510] [info]  r
[2025-02-06 20:16:37.510] [info]  c
[2025-02-06 20:16:37.511] [info]  e
[2025-02-06 20:16:37.511] [info]  s
[2025-02-06 20:16:37.511] [info]  /
[2025-02-06 20:16:37.511] [info]  u
[2025-02-06 20:16:37.511] [info]  v
[2025-02-06 20:16:37.512] [info]  /
[2025-02-06 20:16:37.512] [info]  m
[2025-02-06 20:16:37.512] [info]  a
[2025-02-06 20:16:37.512] [info]  c
[2025-02-06 20:16:37.512] [info]  o
[2025-02-06 20:16:37.512] [info]  s
[2025-02-06 20:16:37.513] [info]  /
[2025-02-06 20:16:37.513] [info]  u
[2025-02-06 20:16:37.513] [info]  v
[2025-02-06 20:16:37.514] [info]   
[2025-02-06 20:16:37.514] [info]  "
[2025-02-06 20:16:37.514] [info]  v
[2025-02-06 20:16:37.514] [info]  e
[2025-02-06 20:16:37.514] [info]  n
[2025-02-06 20:16:37.515] [info]  v
[2025-02-06 20:16:37.515] [info]  "
[2025-02-06 20:16:37.515] [info]   
[2025-02-06 20:16:37.515] [info]  "
[2025-02-06 20:16:37.516] [info]  -
[2025-02-06 20:16:37.516] [info]  -
[2025-02-06 20:16:37.516] [info]  p
[2025-02-06 20:16:37.517] [info]  y 
[2025-02-06 20:16:37.517] [info]  
[2025-02-06 20:16:37.517] [info]  t
[2025-02-06 20:16:37.517] [info]  
th
[2025-02-06 20:16:37.517] [info]  o
[2025-02-06 20:16:37.518] [info]  n
[2025-02-06 20:16:37.518] [info]  "
[2025-02-06 20:16:37.518] [info]   
[2025-02-06 20:16:37.518] [info]  "
[2025-02-06 20:16:37.518] [info]  3
[2025-02-06 20:16:37.519] [info]  .
[2025-02-06 20:16:37.519] [info]  1
[2025-02-06 20:16:37.519] [info]  2
[2025-02-06 20:16:37.519] [info]  "
[2025-02-06 20:16:37.520] [info]  
[2025-02-06 20:16:37.520] [info]  
[2025-02-06 20:16:37.520] [info]  


[2025-02-06 20:16:37.520] [info]  ]2;/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" ]1;/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv
[2025-02-06 20:16:38.584] [info]    × Failed to download
  │ https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20241219/cpython-3.12.8%2B20241219-aarch64-apple-darwin-install_only_stripped.tar.gz

[2025-02-06 20:16:38.585] [info]    ╰─▶ HTTP status client error (403 Forbidden) for url
      (https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20241219/cpython-3.12.8%2B20241219-aarch64-apple-darwin-install_only_stripped.tar.gz)

[2025-02-06 20:16:38.590] [info]  %                                                                               
 
[2025-02-06 20:16:38.590] [info]  ]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI
[2025-02-06 20:16:38.642] [info]  
➜  ComfyUI 
[2025-02-06 20:16:38.642] [info]  e
[2025-02-06 20:16:38.642] [info]  ec
[2025-02-06 20:16:38.643] [info]  h
[2025-02-06 20:16:38.643] [info]  o
[2025-02-06 20:16:38.643] [info]   
[2025-02-06 20:16:38.644] [info]  "
[2025-02-06 20:16:38.644] [info]  _
[2025-02-06 20:16:38.644] [info]  -
[2025-02-06 20:16:38.645] [info]  e
[2025-02-06 20:16:38.645] [info]  n
[2025-02-06 20:16:38.645] [info]  d
[2025-02-06 20:16:38.646] [info]  -
[2025-02-06 20:16:38.646] [info]  1
[2025-02-06 20:16:38.646] [info]  7
[2025-02-06 20:16:38.646] [info]  3
[2025-02-06 20:16:38.647] [info]  8
[2025-02-06 20:16:38.647] [info]  8
[2025-02-06 20:16:38.647] [info]  4
[2025-02-06 20:16:38.647] [info]  4
[2025-02-06 20:16:38.647] [info]  1
[2025-02-06 20:16:38.648] [info]  9
[2025-02-06 20:16:38.648] [info]  7
[2025-02-06 20:16:38.648] [info]  2
[2025-02-06 20:16:38.648] [info]  1
[2025-02-06 20:16:38.649] [info]  7
[2025-02-06 20:16:38.649] [info]  :
[2025-02-06 20:16:38.649] [info]  $
[2025-02-06 20:16:38.649] [info]  ?
[2025-02-06 20:16:38.650] [info]  "
[2025-02-06 20:16:38.651] [info]  echo "_-end-1738844197217:$?"
[2025-02-06 20:16:38.651] [info]  
[2025-02-06 20:16:38.651] [info]  
[2025-02-06 20:16:38.652] [info]  


[2025-02-06 20:16:38.653] [info]  ]2;echo "_-end-1738844197217:$?"]1;echo
[2025-02-06 20:16:38.653] [info]  _-end-1738844197217:1
%                                                                               
 
]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI
[2025-02-06 20:16:38.653] [error] Error creating virtual environment: Error: Failed to create virtual environment: exit code 1
[2025-02-06 20:16:38.653] [error] Unhandled exception during app startup Error: Failed to create virtual environment: exit code 1
    at VirtualEnvironment.createVenvWithPython (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3317:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async VirtualEnvironment.createEnvironment (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3295:7)
    at async VirtualEnvironment.create (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3254:7)
    at async _InstallationManager.freshInstall (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:4065:5)
    at async _InstallationManager.resumeInstallation (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:4002:12)
    at async _InstallationManager.ensureInstalled (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3981:50)
    at async startApp (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:26800:28)
[2025-02-06 20:16:42.027] [info]  App window closed.

Browser Logs

none

Setting JSON

none

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @hiwanz on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/840 ### App Version v0.4.16 ### Expected Behavior Finish installation properly ### Actual Behavior Unable to finish installation ### Steps to Reproduce Install app with all default setting ### Debug Logs ```powershell [2025-02-06 20:16:26.565] [info] Starting app v0.4.16 [2025-02-06 20:16:26.981] [info] Settings file /Users/hiwanz/ComfyUI/user/default/comfy.settings.json does not exist. Using default settings. [2025-02-06 20:16:26.981] [info] Using uv at /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv [2025-02-06 20:16:26.981] [info] Install state: started [2025-02-06 20:16:26.981] [info] Starting installation. [2025-02-06 20:16:33.199] [error] URL access timed out https://github.com/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256 [2025-02-06 20:16:33.201] [error] Error checking URL access: https://github.com/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256 Error: socket hang up at TLSSocket.socketCloseListener (node:_http_client:473:25) at TLSSocket.emit (node:events:531:35) at node:net:338:12 at TCP.done (node:_tls_wrap:657:7) [2025-02-06 20:16:35.208] [error] Error checking URL access: https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256 Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) [2025-02-06 20:16:37.202] [info] Creating ComfyUI directories in /Users/hiwanz/ComfyUI [2025-02-06 20:16:37.203] [info] Created directory: /Users/hiwanz/ComfyUI/custom_nodes [2025-02-06 20:16:37.203] [info] Created directory: /Users/hiwanz/ComfyUI/input [2025-02-06 20:16:37.203] [info] Created directory: /Users/hiwanz/ComfyUI/output [2025-02-06 20:16:37.203] [info] Created directory: /Users/hiwanz/ComfyUI/user [2025-02-06 20:16:37.203] [info] Created directory: /Users/hiwanz/ComfyUI/user/default [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/checkpoints [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/clip [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/clip_vision [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/configs [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/controlnet [2025-02-06 20:16:37.204] [info] Created directory: /Users/hiwanz/ComfyUI/models/diffusers [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/diffusion_models [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/embeddings [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/gligen [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/hypernetworks [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/loras [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/photomaker [2025-02-06 20:16:37.205] [info] Created directory: /Users/hiwanz/ComfyUI/models/style_models [2025-02-06 20:16:37.206] [info] Created directory: /Users/hiwanz/ComfyUI/models/unet [2025-02-06 20:16:37.206] [info] Created directory: /Users/hiwanz/ComfyUI/models/upscale_models [2025-02-06 20:16:37.206] [info] Created directory: /Users/hiwanz/ComfyUI/models/vae [2025-02-06 20:16:37.206] [info] Created directory: /Users/hiwanz/ComfyUI/models/vae_approx [2025-02-06 20:16:37.206] [info] Created directory: /Users/hiwanz/ComfyUI/models/animatediff_models [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/animatediff_motion_lora [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/animatediff_video_formats [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/liveportrait [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/insightface [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/insightface/buffalo_1 [2025-02-06 20:16:37.207] [info] Created directory: /Users/hiwanz/ComfyUI/models/blip [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/blip/checkpoints [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/CogVideo [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/xlabs [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/xlabs/loras [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/xlabs/controlnets [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/layerstyle [2025-02-06 20:16:37.208] [info] Created directory: /Users/hiwanz/ComfyUI/models/LLM [2025-02-06 20:16:37.209] [info] Created directory: /Users/hiwanz/ComfyUI/models/Joy_caption [2025-02-06 20:16:37.209] [info] Wrote settings to /Users/hiwanz/ComfyUI/user/default/comfy.settings.json: { "Comfy-Desktop.AutoUpdate": true, "Comfy-Desktop.SendStatistics": true, "Comfy.ColorPalette": "dark", "Comfy.UseNewMenu": "Top", "Comfy.Workflow.WorkflowTabsPosition": "Topbar", "Comfy.Workflow.ShowMissingModelsWarning": true, "Comfy.Server.LaunchArgs": {}, "Comfy-Desktop.UV.PythonInstallMirror": "https://bgithub.xyz/astral-sh/python-build-standalone/releases/download", "Comfy-Desktop.UV.PypiInstallMirror": "https://pypi.org/simple/", "Comfy-Desktop.UV.TorchInstallMirror": "https://download.pytorch.org/whl/nightly/cpu" } [2025-02-06 20:16:37.209] [info] Creating model config files in /Users/hiwanz/Library/Application Support/ComfyUI/extra_models_config.yaml [2025-02-06 20:16:37.214] [info] Created extra_model_paths.yaml at /Users/hiwanz/Library/Application Support/ComfyUI/extra_models_config.yaml [2025-02-06 20:16:37.216] [info] Using uv at /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv [2025-02-06 20:16:37.217] [info] Creating virtual environment at /Users/hiwanz/ComfyUI/.venv with python 3.12 [2025-02-06 20:16:37.217] [info] Running uv command: /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv venv --python 3.12 [2025-02-06 20:16:37.219] [info] /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" "3.12" echo "_-end-1738844197217:$?" [2025-02-06 20:16:37.247] [info] Received renderer-ready message! [2025-02-06 20:16:37.247] [info] Sending queued message loading-progress { status: 'python-setup' } [2025-02-06 20:16:37.248] [info] Sending queued message log-message /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" "3.12" echo "_-end-1738844197217:$?" [2025-02-06 20:16:37.467] [info] % [2025-02-06 20:16:37.468] [info] ]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI [2025-02-06 20:16:37.500] [info] âžœ ComfyUI [2025-02-06 20:16:37.500] [info] / [2025-02-06 20:16:37.500] [info] /A [2025-02-06 20:16:37.500] [info] p [2025-02-06 20:16:37.501] [info] p [2025-02-06 20:16:37.501] [info] l [2025-02-06 20:16:37.501] [info] i [2025-02-06 20:16:37.502] [info] c [2025-02-06 20:16:37.502] [info] a [2025-02-06 20:16:37.502] [info] t [2025-02-06 20:16:37.502] [info] i [2025-02-06 20:16:37.503] [info] o [2025-02-06 20:16:37.503] [info] n [2025-02-06 20:16:37.503] [info] s [2025-02-06 20:16:37.503] [info] / [2025-02-06 20:16:37.504] [info] C [2025-02-06 20:16:37.504] [info] o [2025-02-06 20:16:37.504] [info] m [2025-02-06 20:16:37.504] [info] f [2025-02-06 20:16:37.505] [info] y [2025-02-06 20:16:37.505] [info] U [2025-02-06 20:16:37.505] [info] I [2025-02-06 20:16:37.506] [info] . [2025-02-06 20:16:37.506] [info] a [2025-02-06 20:16:37.506] [info] p [2025-02-06 20:16:37.506] [info] p [2025-02-06 20:16:37.507] [info] / [2025-02-06 20:16:37.507] [info] C [2025-02-06 20:16:37.507] [info] o [2025-02-06 20:16:37.507] [info] n [2025-02-06 20:16:37.508] [info] t [2025-02-06 20:16:37.508] [info] e [2025-02-06 20:16:37.508] [info] n [2025-02-06 20:16:37.508] [info] t [2025-02-06 20:16:37.509] [info] s [2025-02-06 20:16:37.509] [info] / [2025-02-06 20:16:37.509] [info] R [2025-02-06 20:16:37.509] [info] e [2025-02-06 20:16:37.510] [info] s [2025-02-06 20:16:37.510] [info] o [2025-02-06 20:16:37.510] [info] u [2025-02-06 20:16:37.510] [info] r [2025-02-06 20:16:37.510] [info] c [2025-02-06 20:16:37.511] [info] e [2025-02-06 20:16:37.511] [info] s [2025-02-06 20:16:37.511] [info] / [2025-02-06 20:16:37.511] [info] u [2025-02-06 20:16:37.511] [info] v [2025-02-06 20:16:37.512] [info] / [2025-02-06 20:16:37.512] [info] m [2025-02-06 20:16:37.512] [info] a [2025-02-06 20:16:37.512] [info] c [2025-02-06 20:16:37.512] [info] o [2025-02-06 20:16:37.512] [info] s [2025-02-06 20:16:37.513] [info] / [2025-02-06 20:16:37.513] [info] u [2025-02-06 20:16:37.513] [info] v [2025-02-06 20:16:37.514] [info] [2025-02-06 20:16:37.514] [info] " [2025-02-06 20:16:37.514] [info] v [2025-02-06 20:16:37.514] [info] e [2025-02-06 20:16:37.514] [info] n [2025-02-06 20:16:37.515] [info] v [2025-02-06 20:16:37.515] [info] " [2025-02-06 20:16:37.515] [info] [2025-02-06 20:16:37.515] [info] " [2025-02-06 20:16:37.516] [info] - [2025-02-06 20:16:37.516] [info] - [2025-02-06 20:16:37.516] [info] p [2025-02-06 20:16:37.517] [info] y [2025-02-06 20:16:37.517] [info] [2025-02-06 20:16:37.517] [info] t [2025-02-06 20:16:37.517] [info] th [2025-02-06 20:16:37.517] [info] o [2025-02-06 20:16:37.518] [info] n [2025-02-06 20:16:37.518] [info] " [2025-02-06 20:16:37.518] [info] [2025-02-06 20:16:37.518] [info] " [2025-02-06 20:16:37.518] [info] 3 [2025-02-06 20:16:37.519] [info] . [2025-02-06 20:16:37.519] [info] 1 [2025-02-06 20:16:37.519] [info] 2 [2025-02-06 20:16:37.519] [info] " [2025-02-06 20:16:37.520] [info] [2025-02-06 20:16:37.520] [info] [2025-02-06 20:16:37.520] [info] [2025-02-06 20:16:37.520] [info] ]2;/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv "venv" "--python" ]1;/Applications/ComfyUI.app/Contents/Resources/uv/macos/uv [2025-02-06 20:16:38.584] [info] × Failed to download │ https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20241219/cpython-3.12.8%2B20241219-aarch64-apple-darwin-install_only_stripped.tar.gz [2025-02-06 20:16:38.585] [info] ╰─▶ HTTP status client error (403 Forbidden) for url (https://bgithub.xyz/astral-sh/python-build-standalone/releases/download/20241219/cpython-3.12.8%2B20241219-aarch64-apple-darwin-install_only_stripped.tar.gz) [2025-02-06 20:16:38.590] [info] % [2025-02-06 20:16:38.590] [info] ]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI [2025-02-06 20:16:38.642] [info] âžœ ComfyUI [2025-02-06 20:16:38.642] [info] e [2025-02-06 20:16:38.642] [info] ec [2025-02-06 20:16:38.643] [info] h [2025-02-06 20:16:38.643] [info] o [2025-02-06 20:16:38.643] [info] [2025-02-06 20:16:38.644] [info] " [2025-02-06 20:16:38.644] [info] _ [2025-02-06 20:16:38.644] [info] - [2025-02-06 20:16:38.645] [info] e [2025-02-06 20:16:38.645] [info] n [2025-02-06 20:16:38.645] [info] d [2025-02-06 20:16:38.646] [info] - [2025-02-06 20:16:38.646] [info] 1 [2025-02-06 20:16:38.646] [info] 7 [2025-02-06 20:16:38.646] [info] 3 [2025-02-06 20:16:38.647] [info] 8 [2025-02-06 20:16:38.647] [info] 8 [2025-02-06 20:16:38.647] [info] 4 [2025-02-06 20:16:38.647] [info] 4 [2025-02-06 20:16:38.647] [info] 1 [2025-02-06 20:16:38.648] [info] 9 [2025-02-06 20:16:38.648] [info] 7 [2025-02-06 20:16:38.648] [info] 2 [2025-02-06 20:16:38.648] [info] 1 [2025-02-06 20:16:38.649] [info] 7 [2025-02-06 20:16:38.649] [info] : [2025-02-06 20:16:38.649] [info] $ [2025-02-06 20:16:38.649] [info] ? [2025-02-06 20:16:38.650] [info] " [2025-02-06 20:16:38.651] [info] echo "_-end-1738844197217:$?" [2025-02-06 20:16:38.651] [info] [2025-02-06 20:16:38.651] [info] [2025-02-06 20:16:38.652] [info] [2025-02-06 20:16:38.653] [info] ]2;echo "_-end-1738844197217:$?"]1;echo [2025-02-06 20:16:38.653] [info] _-end-1738844197217:1 % ]2;hiwanz@MacBook-Pro: ~/ComfyUI]1;~/ComfyUI [2025-02-06 20:16:38.653] [error] Error creating virtual environment: Error: Failed to create virtual environment: exit code 1 [2025-02-06 20:16:38.653] [error] Unhandled exception during app startup Error: Failed to create virtual environment: exit code 1 at VirtualEnvironment.createVenvWithPython (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3317:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async VirtualEnvironment.createEnvironment (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3295:7) at async VirtualEnvironment.create (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3254:7) at async _InstallationManager.freshInstall (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:4065:5) at async _InstallationManager.resumeInstallation (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:4002:12) at async _InstallationManager.ensureInstalled (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:3981:50) at async startApp (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:26800:28) [2025-02-06 20:16:42.027] [info] App window closed. ``` ### Browser Logs none ### Setting JSON none ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-840-Bug-Installation-ERROR-1926d73d36508190a3daf7d8a54e564f) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:10:26 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dosubot[bot] commented on GitHub (Feb 6, 2025):

Hey there, @hiwanz! 👋 I'm here to help you with any bugs, questions, or contributions you might have. I'm a bot designed to assist you while you wait for a human maintainer. Let's squash those bugs together!

The installation error you're encountering seems to be related to network issues when accessing certain URLs, specifically a "403 Forbidden" error from the bgithub.xyz mirror. This error indicates that the server is refusing the connection, which could be due to several reasons such as access restrictions or incorrect URL configurations.

Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Check Network Connectivity: Ensure that your internet connection is stable and that there are no network restrictions or firewalls blocking access to the URLs.

  2. Verify URL Access: Try accessing the problematic URLs directly in a web browser to see if they are reachable. If they are not, the issue might be with the server or the URL itself.

  3. Use Alternative Mirrors: Since the default settings allow for customization of mirrors, consider using alternative mirrors for Python, PyPI, and Torch installations. You can modify the settings in the comfy.settings.json file to point to different, more reliable mirrors.

  4. Increase Timeout Settings: If network latency is an issue, consider increasing the timeout settings for URL access. This can be done by adjusting the timeout parameter in the canAccessUrl function, if you have access to modify the source code [1].

  5. Retry Installation: After making the above changes, retry the installation process to see if the issue persists.

If the problem continues, it might be necessary to investigate further into the specific configurations or reach out to the maintainers for more detailed support.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

<!-- gh-comment-id:2639680803 --> @dosubot[bot] commented on GitHub (Feb 6, 2025): <!-- Greeting --> Hey there, @hiwanz! 👋 I'm here to help you with any bugs, questions, or contributions you might have. I'm a bot designed to assist you while you wait for a human maintainer. Let's squash those bugs together! <!-- Answer --> The installation error you're encountering seems to be related to network issues when accessing certain URLs, specifically a "403 Forbidden" error from the `bgithub.xyz` mirror. This error indicates that the server is refusing the connection, which could be due to several reasons such as access restrictions or incorrect URL configurations. Here are a few steps you can take to troubleshoot and potentially resolve the issue: 1. **Check Network Connectivity**: Ensure that your internet connection is stable and that there are no network restrictions or firewalls blocking access to the URLs. 2. **Verify URL Access**: Try accessing the problematic URLs directly in a web browser to see if they are reachable. If they are not, the issue might be with the server or the URL itself. 3. **Use Alternative Mirrors**: Since the default settings allow for customization of mirrors, consider using alternative mirrors for Python, PyPI, and Torch installations. You can modify the settings in the `comfy.settings.json` file to point to different, more reliable mirrors. 4. **Increase Timeout Settings**: If network latency is an issue, consider increasing the timeout settings for URL access. This can be done by adjusting the `timeout` parameter in the `canAccessUrl` function, if you have access to modify the source code <sup>[[1]](https://github.com/Comfy-Org/desktop/blob/main/src/utils.ts)</sup>. 5. **Retry Installation**: After making the above changes, retry the installation process to see if the issue persists. If the problem continues, it might be necessary to investigate further into the specific configurations or reach out to the maintainers for more detailed support. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/ea696a92-a8b7-49e2-9cef-13542c28664d?feedback_type=other)</sup>
Author
Owner

@hiwanz commented on GitHub (Feb 6, 2025):

Use custom github proxy during installation will solve this problem,eg. https://gh-proxy.com/github.com/astral-sh/python-build-standalone/releases/download

<!-- gh-comment-id:2639710499 --> @hiwanz commented on GitHub (Feb 6, 2025): Use custom github proxy during installation will solve this problem,eg. https://gh-proxy.com/github.com/astral-sh/python-build-standalone/releases/download
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#237
No description provided.