mac 更新完12.3 creator2.4.7模拟器运行不了。。

报错如下 浏览器没有问题 模拟器跑不了。。。。
[Error: spawn python ENOENT
at Process.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
] {
errno: ‘ENOENT’,
code: ‘ENOENT’,
syscall: ‘spawn python’,
path: ‘python’,
spawnargs: [
‘-c’,
<Buffer 69 6d 70 6f 72 74 20 6c 6f 63 61 6c 65 0a 0a 73 79 73 5f 6c 61 6e 67 2c 20 65 6e 63 6f 64 69 6e 67 20 3d 20 6c 6f 63 61 6c 65 2e 67 65 74 64 65 66 61 … 28 more bytes>
]

12.3开始不自带python2了,自己装一个吧

有解决方案了吗

同上,安装了python2.7,并且python --version,以及查了环境变量也能找到位置。但是creator提示还是找到不python.

Error: spawn python ENOENT
at Process.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
errno: ‘ENOENT’,
code: ‘ENOENT’,
syscall: ‘spawn python’,
path: ‘python’,
spawnargs: [
‘-c’,
<Buffer 69 6d 70 6f 72 74 20 6c 6f 63 61 6c 65 0a 0a 73 79 73 5f 6c 61 6e 67 2c 20 65 6e 63 6f 64 69 6e 67 20 3d 20 6c 6f 63 61 6c 65 2e 67 65 74 64 65 66 61 … 28 more bytes>
]
也是一样 有python为啥还是找不到呢

https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg
下载2.7的 安装就可以了

mac 升级之后 electron 打包报错 Exit code: ENOENT. spawn /usr/bin/python ENOENT - 简书 看见的这个帖子