6174 / 6174/comflowyspace

在运行workflow时出现:Numpy is not available,MAC以及Windows都有这个问题

未关闭
#299 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
2.3k
派生
136
PR 合并指标
30 天内没有已合并 PR

描述

![image](https://github.com/6174/comflowyspace/assets/173980455/7e71becb-7f9b-4ac1-93c2-cd5160ece82e)
```
Numpy is not available

File "C:\Users\Administrator\comflowy\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\Administrator\comflowy\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\Administrator\comflowy\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\Administrator\comflowy\ComfyUI\ComfyUI\nodes.py", line 1510, in load_image
image = torch.from_numpy(image)[None,]
```
MAC以及Windows系统曾经都部署过sd webui,不知道是不是当时安装的Python与现在的有冲突;
都尝试过卸载Python并重新安装numpy,但是没有用。
[运行日志.txt](https://github.com/user-attachments/files/16023278/default.txt)

贡献指南

这个仓库没有索引到贡献指南

调研方向

The error occurs in ComfyUI's execution.py and nodes.py when torch.from_numpy is called. Check the Python environment and numpy installation. Review the attached log file for specific import errors. Verify numpy is importable in the same Python interpreter that runs ComfyUI, and check for conflicting Python installations from previous SD WebUI setups.

由索引模型根据 Issue 内容生成。

评估

技术栈
numpy, python
领域
backend, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。