# M1 pro MACOS12.3.1 install fail v0.4.32 桌面版

**URL:** <https://forum.comfy.org/t/m1-pro-macos12-3-1-install-fail-v0-4-32/2184>\
**Category:** Mac\
**Tags:** issue, install\
**Created:** [April 4, 2025, 1:11am UTC](https://forum.comfy.org/t/m1-pro-macos12-3-1-install-fail-v0-4-32/2184 "2025-04-04T01:11:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangxuanluo](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zhangxuanluo](https://forum.comfy.org/u/zhangxuanluo)\
**Post date:** [April 4, 2025, 1:11am UTC](https://forum.comfy.org/t/m1-pro-macos12-3-1-install-fail-v0-4-32/2184/1 "2025-04-04T01:11:13Z")

</div>

![截屏2025-04-04 09.06.41](https://canada1.discourse-cdn.com/flex009/uploads/comfyui1/original/1X/31d5d923bc9519941ba2afe480b22ed22838ba7a.jpeg)  
[2025-04-04 09:07:22.955] [info] Adding extra search path custom\_nodes /Users/zhangxuanluo/Documents/ComfyUI/custom\_nodes

[2025-04-04 09:07:22.956] [info] Adding extra search path download\_model\_base /Users/zhangxuanluo/Documents/ComfyUI/models  
Adding extra search path custom\_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom\_nodes  
Setting output directory to: /Users/zhangxuanluo/Documents/ComfyUI/output  
Setting input directory to: /Users/zhangxuanluo/Documents/ComfyUI/input  
Setting user directory to: /Users/zhangxuanluo/Documents/ComfyUI/user

[2025-04-04 09:07:23.423] [info] [START] Security scan  
[DONE] Security scan

## ComfyUI-Manager: installing dependencies done.

\*\* ComfyUI startup time:  
[2025-04-04 09:07:23.424] [info] 2025-04-04 09:07:23.423  
\*\* Platform: Darwin  
\*\* Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6]  
\*\* Python executable: /Users/zhangxuanluo/Documents/ComfyUI/.venv/bin/python  
\*\* ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI  
\*\* ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI  
\*\* User directory: /Users/zhangxuanluo/Documents/ComfyUI/user  
\*\* ComfyUI-Manager config path: /Users/zhangxuanluo/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini  
\*\* Log path: /Users/zhangxuanluo/Documents/ComfyUI/user/comfyui.log

[2025-04-04 09:07:23.725] [error] [ComfyUI-Manager] Failed to restore comfyui-frontend-package

[2025-04-04 09:07:23.726] [error] expected str, bytes or os.PathLike object, not NoneType

[2025-04-04 09:07:23.726] [info]  
Prestartup times for custom nodes:  
0.8 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom\_nodes/ComfyUI-Manager

[2025-04-04 09:07:24.418] [info] Checkpoint files will always be loaded safely.

[2025-04-04 09:07:24.425] [error] Traceback (most recent call last):

[2025-04-04 09:07:24.425] [error] File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py”, line 136, in   
import execution  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/execution.py”, line 13, in   
import nodes  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/nodes.py”, line 22, in   
import comfy.diffusers\_load  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/diffusers\_load.py”, line 3, in   
import comfy.sd  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/sd.py”, line 7, in

[2025-04-04 09:07:24.426] [error] from comfy import model\_management  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model\_management.py”, line 195, in   
total\_vram = get\_total\_memory(get\_torch\_device()) / (1024 \* 1024)

[2025-04-04 09:07:24.426] [error]  
[2025-04-04 09:07:24.426] [error]  
[2025-04-04 09:07:24.426] [error] ^^^^^^^^^^^^^^^  
[2025-04-04 09:07:24.427] [error] ^^^  
File “/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model\_management.py”, line 146, in get\_torch\_device  
return torch.device(torch.cuda.current\_device())

[2025-04-04 09:07:24.427] [error]  
[2025-04-04 09:07:24.427] [error] ^^  
[2025-04-04 09:07:24.427] [error] ^^^^^^^^^^^^^^  
[2025-04-04 09:07:24.427] [error] ^^^^^^^^^^^

[2025-04-04 09:07:24.428] [error] File “/Users/zhangxuanluo/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/ **init**.py”, line 1026, in current\_device  
\_lazy\_init()

[2025-04-04 09:07:24.428] [error] File “/Users/zhangxuanluo/Documents/ComfyUI/.venv/lib/python3.12/site-packages/torch/cuda/ **init**.py”, line 363, in \_lazy\_init  
raise AssertionError(“Torch not compiled with CUDA enabled”)  
AssertionError: Torch not compiled with CUDA enabled  
[2025-04-04 09:07:24.428] [error]

[2025-04-04 09:07:22.684] [info] Using uv at /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv  
[2025-04-04 09:07:22.684] [info] Install state: installed  
[2025-04-04 09:07:22.685] [info] Validating installation. Recorded state: [installed]  
[2025-04-04 09:07:22.685] [info] Running direct process command: pip install --dry-run -r /Applications/ComfyUI.app/Contents/Resources/ComfyUI/requirements.txt  
[2025-04-04 09:07:22.685] [info] Running command: /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv pip install --dry-run -r /Applications/ComfyUI.app/Contents/Resources/ComfyUI/requirements.txt in /Users/zhangxuanluo/Documents/ComfyUI  
[2025-04-04 09:07:22.721] [info] Running direct process command: pip install --dry-run -r /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom\_nodes/ComfyUI-Manager/requirements.txt  
[2025-04-04 09:07:22.721] [info] Running command: /Applications/ComfyUI.app/Contents/Resources/uv/macos/uv pip install --dry-run -r /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom\_nodes/ComfyUI-Manager/requirements.txt in /Users/zhangxuanluo/Documents/ComfyUI  
[2025-04-04 09:07:22.736] [info] Validation result: isValid:true, state:installed {“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}  
[2025-04-04 09:07:22.911] [info] Server start  
[2025-04-04 09:07:22.917] [error] Log rotation: cannot access log dir /Users/zhangxuanluo/Library/Logs/ComfyUI/comfyui.log  
[2025-04-04 09:07:22.918] [info] Running command: /Users/zhangxuanluo/Documents/ComfyUI/.venv/bin/python /Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py --user-directory /Users/zhangxuanluo/Documents/ComfyUI/user --input-directory /Users/zhangxuanluo/Documents/ComfyUI/input --output-directory /Users/zhangxuanluo/Documents/ComfyUI/output --front-end-root /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web\_custom\_versions/desktop\_app --base-directory /Users/zhangxuanluo/Documents/ComfyUI --extra-model-paths-config /Users/zhangxuanluo/Library/Application Support/ComfyUI/extra\_models\_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 in /Users/zhangxuanluo/Documents/ComfyUI  
[2025-04-04 09:07:22.935] [info] Received renderer-ready message!  
[2025-04-04 09:07:22.935] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.936] [info] Sending queued message {“channel”:“validation-update”,“data”:{“inProgress”:false,“installState”:“installed”,“basePath”:“OK”,“venvDirectory”:“OK”,“pythonInterpreter”:“OK”,“uv”:“OK”,“pythonPackages”:“OK”,“git”:“OK”,“vcRedist”:“skipped”}}  
[2025-04-04 09:07:22.937] [info] Sending queued message {“channel”:“loading-progress”,“data”:{“status”:“starting-server”}}  
[2025-04-04 09:07:24.614] [error] Python process exited with code 1 and signal null  
[2025-04-04 09:07:24.617] [error] Unhandled exception during server start Error: Python process exited with code 1 and signal null  
at ChildProcess. (/Applications/ComfyUI.app/Contents/Resources/app.asar/.vite/build/main.cjs:27006:18)  
at ChildProcess.emit (node:events:519:28)  
at ChildProcess.\_handle.onexit (node:internal/child\_process:294:12)  
[2025-04-04 09:07:52.917] [error] @todesktop/runtime: alwaysResolve: Promise timed out after 30000ms  
[2025-04-04 09:07:53.503] [info] @todesktop/runtime: Checking for update  
[2025-04-04 09:07:53.504] [info] @todesktop/runtime: AutoUpdater: checking-for-update  
[2025-04-04 09:07:54.951] [info] @todesktop/runtime: Update for version 0.4.32 is not available (latest version: 0.4.32, downgrade is allowed).  
[2025-04-04 09:07:54.952] [info] @todesktop/runtime: AutoUpdater: update-not-available {“version”:“0.4.32”,“files”:[{“url”:“ComfyUI 0.4.32 - Build 25032275xkjjkm6-arm64-mac.zip”,“sha512”:“snGHXMOdrUNiDRig/3zX1jO1FGFbVSPD9nEuPTvjFAghT5uopHT6J9DwHIK6Pvrv3TONOAlkmcfMlhX3jnwswg==”,“size”:168199725},{“url”:“ComfyUI 0.4.32 - Build 25032275xkjjkm6-arm64.dmg”,“sha512”:“lYRxE5n2gKUu25FXgm3Gsi/xtjFf4JE8VNc0MT8+rkD5zWVlTxxmXiDQbk8oa7wTFhuroepRKGi23Uv2eUHbtQ==”,“size”:176578936}],“path”:“ComfyUI 0.4.32 - Build 25032275xkjjkm6-arm64-mac.zip”,“sha512”:“snGHXMOdrUNiDRig/3zX1jO1FGFbVSPD9nEuPTvjFAghT5uopHT6J9DwHIK6Pvrv3TONOAlkmcfMlhX3jnwswg==”,“releaseDate”:“2025-03-22T02:21:12.289Z”}  
[2025-04-04 09:07:19.810] [info] Before-quit: Killing Python server  
[2025-04-04 09:07:19.810] [info] No python server process to kill  
[2025-04-04 09:07:19.810] [info] App window closed.  
[2025-04-04 09:07:22.278] [info] Starting app v0.4.32

---

<div class="post-metadata">

**Author:** ![zhangxuanluo](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zhangxuanluo](https://forum.comfy.org/u/zhangxuanluo)\
**Post date:** [April 9, 2025, 10:37am UTC](https://forum.comfy.org/t/m1-pro-macos12-3-1-install-fail-v0-4-32/2184/2 "2025-04-09T10:37:31Z")

</div>

找到/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/model\_management.py文件，修改代码，将cpu\_state = CPUState.cpu,改成cpu\_state = CPUState.MPS 强制开启，能顺利进入UI界面了。
