Windows portable: comfy launch / node install use the system Python instead of the workspace's python_embeded
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with the interpreter resolution behind comfy --json env, then trace how the portable workspace is used by server launch and Manager/node operations. Reproduce with the stated Windows portable layout and verify that launching, Manager detection, and node installation use ..\python_embeded\python.exe rather than system Python.
索引モデルが issue の本文から書いたものです。
説明
Summary
With the official ComfyUI Windows portable build as the workspace, comfy-cli resolves the system Python as its interpreter instead of the portable build's own python_embeded. Anything that has to run inside ComfyUI's environment (starting the server, installing custom nodes, Manager detection) then breaks.
Environment
- Windows 11, RTX 5070 Ti
- comfy-cli 1.20.0, comfy-mcp 0.10.0
- ComfyUI 0.36.0, ComfyUI-Manager 4.3 (installed in the portable's embedded Python)
- Workspace:
D:\Ai\ComfyUI_windows_portable\ComfyUI(portable, embedded Python 3.13.11 in..\python_embeded\python.exe) - System Python: 3.14.5 (
C:\Users\<user>\AppData\Local\Python\pythoncore-3.14-64\python.exe), where comfy-cli is installed
What I see
comfy --json env reports:
"python": { "version": "3.14.5", "executable": "C:\\Users\\<user>\\AppData\\Local\\Python\\pythoncore-3.14-64\\python.exe" }
"workspace": { "path": "D:\\Ai\\ComfyUI_windows_portable\\ComfyUI", "type": "default",
"manager_mode": "not-installed", "manager_detected": "none" }
manager_mode: not-installedalthough ComfyUI-Manager 4.3 is installed in the portable's embedded Python (the server started with--enable-managershows the Manager working).- Starting the server through comfy-cli / the
launch_comfyuitool of comfy-mcp runsmain.pywith the system Python 3.14 and fails on imports (the server log ends withModuleNotFoundError: No module named 'sqlalchemy'inapp/assets/lifecycle.py; an earlier attempt showedNo module named 'alembic'). The samemain.pystarts fine withpython_embeded\python.exe. - The
install_nodetool of comfy-mcp refuses with "does not have ComfyUI-Manager at all", presumably for the same reason.
Expected
When the workspace is a portable install, comfy-cli should use <portable root>\python_embeded\python.exe for launching ComfyUI and for Manager/node operations (or offer a documented way to point it at that interpreter, e.g. a config key or flag).
Question
Is there already a supported way to set the workspace interpreter for portable installs? I could not find one in comfy --help or the docs. Current workaround: start the server manually with run_nvidia_gpu.bat and install nodes from the UI; everything else (run, templates, model downloads) works.
I searched the open and closed issues of comfy-cli and comfy-mcp for portable/python_embeded/launch and did not find a matching report.
- 主要言語
- Python
- スター
- 1k
- フォーク
- 176
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 87
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Comfy-Org/comfy-cli のほかの issue
-
test_file_utils umask tests assert against a umask the code never reads (import-time _UMASK), so they only pass on a 0o022 host対応中かも @neverbiasu が 10 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Comfy-Org/comfy-cli#907 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Comfy-Org/comfy-cli#781 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`comfy launch --background` fails with FileNotFoundError when comfy-cli is invoked by path対応中かも @RaphaelFakhri が 42 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Comfy-Org/comfy-cli#691 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Comfy-Org/comfy-cli#670 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
Comfy-Org/comfy-cli の issue をすべて見る
似ている issue
-
add entry to blockオープン
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"対応中かも @0z5a が今日担当しました。 オープンneeds-triage
難易度 2/5 半日 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
plot_graph crashes when a mesh node has no m2m edge対応中かも @tygvi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mllam/neural-lam#883 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
future-agi/future-agi#4092 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
transcript analytics: a text whose only protected spans the prose pass redacts is withheld wholeオープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
WingedGuardian/GENesis-AGI#4641 ·
メンテナーはふだん 1 日以内に返信