From 577314984c9c6d97125271d8158fca5ce152d62d Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Sun, 6 Jul 2025 16:36:49 +0300 Subject: [PATCH] fix(Windows, numpy): fix for `cm-cli` usage (#1972) --- glob/manager_core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 11c6f020..1901dc0d 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -1739,13 +1739,14 @@ def read_config(): except Exception: import importlib.util - manager_util.use_uv = importlib.util.find_spec("uv") is not None + # temporary disable `uv` on Windows by default (https://github.com/Comfy-Org/ComfyUI-Manager/issues/1969) + manager_util.use_uv = importlib.util.find_spec("uv") is not None and platform.system() != "Windows" return { 'http_channel_enabled': False, 'preview_method': manager_funcs.get_current_preview_method(), 'git_exe': '', - 'use_uv': manager_util.use_uv and platform.system() != "Windows", # temporary disable on Windows by default + 'use_uv': manager_util.use_uv, 'channel_url': DEFAULT_CHANNEL, 'default_cache_as_channel_url': False, 'share_option': 'all',