在运行workflow时出现:Numpy is not available,MAC以及Windows都有这个问题
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 136
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả

```
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)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- numpy, python
- Lĩnh vực
- backend, tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100