[GH-ISSUE #1939] This is what happens when I press run_cpu.bat #819

Closed
opened 2026-10-27 21:22:36 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @RubenCCCC on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1939

The following code happens and then tells me to press any key to exit:

D:\LAARGE files\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build
Error processing line 1 of D:\LAARGE files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\distutils-precedence.pth:

Traceback (most recent call last):
File "", line 206, in addpackage
File "", line 1, in
AttributeError: module '_distutils_hack' has no attribute 'add_shim'

Remainder of file ignored
Failed to execute startup-script: D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager\prestartup_script.py / cannot import name 'URL' from 'yarl' (unknown location)

Prestartup times for custom nodes:
0.1 seconds (PRESTARTUP FAILED): D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager

Traceback (most recent call last):
File "D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\main.py", line 128, in
import comfy.utils
File "D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 24, in
import safetensors.torch
File "D:\LAARGE files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\safetensors\torch.py", line 11, in
def storage_ptr(tensor: torch.Tensor) -> int:
^^^^^^^^^^^^
AttributeError: module 'torch' has no attribute 'Tensor'

D:\LAARGE files\ComfyUI_windows_portable>pause

Originally created by @RubenCCCC on GitHub (Jun 16, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1939 The following code happens and then tells me to press any key to exit: D:\LAARGE files\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build Error processing line 1 of D:\LAARGE files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\distutils-precedence.pth: Traceback (most recent call last): File "<frozen site>", line 206, in addpackage File "<string>", line 1, in <module> AttributeError: module '_distutils_hack' has no attribute 'add_shim' Remainder of file ignored Failed to execute startup-script: D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager\prestartup_script.py / cannot import name 'URL' from 'yarl' (unknown location) Prestartup times for custom nodes: 0.1 seconds (PRESTARTUP FAILED): D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager Traceback (most recent call last): File "D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\main.py", line 128, in <module> import comfy.utils File "D:\LAARGE files\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 24, in <module> import safetensors.torch File "D:\LAARGE files\ComfyUI_windows_portable\python_embeded\Lib\site-packages\safetensors\torch.py", line 11, in <module> def storage_ptr(tensor: torch.Tensor) -> int: ^^^^^^^^^^^^ AttributeError: module 'torch' has no attribute 'Tensor' D:\LAARGE files\ComfyUI_windows_portable>pause
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#819
No description provided.