6174 / 6174/comflowyspace

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

Open
#299 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.3k
Forks
136
PR merge metrics
No merged PRs in 30d

Description

![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)

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
backend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.