[GH-ISSUE #2248] An error occurred after clicking update all. #907

Closed
opened 2026-10-27 21:23:52 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @lestersssss on GitHub (Oct 31, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2248

ComfyUI-Manager] Neither python -m pip nor uv are available. Cannot proceed with package operations.
Error handling request from 127.0.0.1
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/middleware/cache_middleware.py", line 27, in cache_control
response: web.Response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 70, in deprecation_warning
response: web.Response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/server.py", line 160, in origin_only_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 742, in update_all
await core.save_snapshot_with_postfix('autosave')
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2771, in save_snapshot_with_postfix
snapshot = await get_current_snapshot(custom_nodes_only)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2748, in get_current_snapshot
pip_packages = None if custom_nodes_only else get_installed_pip_packages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2668, in get_installed_pip_packages
cmd = manager_util.make_pip_cmd(['freeze'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_util.py", line 93, in make_pip_cmd
base_cmd = get_pip_cmd(force_uv=use_uv)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_util.py", line 79, in get_pip_cmd
raise Exception("Neither pip nor uv are available for package management")
Exception: Neither pip nor uv are available for package management

Originally created by @lestersssss on GitHub (Oct 31, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2248 ComfyUI-Manager] Neither python -m pip nor uv are available. Cannot proceed with package operations. Error handling request from 127.0.0.1 Traceback (most recent call last): File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/middleware/cache_middleware.py", line 27, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/server.py", line 70, in deprecation_warning response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/server.py", line 160, in origin_only_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 742, in update_all await core.save_snapshot_with_postfix('autosave') File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2771, in save_snapshot_with_postfix snapshot = await get_current_snapshot(custom_nodes_only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2748, in get_current_snapshot pip_packages = None if custom_nodes_only else get_installed_pip_packages() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_core.py", line 2668, in get_installed_pip_packages cmd = manager_util.make_pip_cmd(['freeze']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_util.py", line 93, in make_pip_cmd base_cmd = get_pip_cmd(force_uv=use_uv) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/ComfyUI/custom_nodes/ComfyUI-Manager/glob/manager_util.py", line 79, in get_pip_cmd raise Exception("Neither pip nor uv are available for package management") Exception: Neither pip nor uv are available for package management
Author
Owner

@ltdrdata commented on GitHub (Nov 10, 2025):

The patch is merged.

<!-- gh-comment-id:3512489829 --> @ltdrdata commented on GitHub (Nov 10, 2025): The patch is merged.
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/ComfyUI-Manager#907
No description provided.