Open Quaggles opened 1 month ago
Having same issue and idk how to fix it
Hello, having same issue, perfect describtion of the problem.
Good morning, To work around the problem: In your "ComfyUI_windows_portable\python_embeded" directory, run the command: python.exe -m pip install numpy==1.26.4 It works for me.
Good morning, To work around the problem: In your "ComfyUI_windows_portable\python_embeded" directory, run the command: python.exe -m pip install numpy==1.26.4 It works for me.
Thank you so much. That works fine.
Раньше с бубнами, но получалось поставить. Сейчас ComfyUI переустановил и все. Уже и по инструкции основной попробовал и в ручном варианте, и "ComfyUI_windows_portable\python_embeded" directory, run the command: python.exe -m pip install numpy==1.26.4 It works for me это испробовал. Ошибка такая как в заголовки и хоть ты тресни.
`Prestartup times for custom nodes: 5.8 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 6144 MB, total RAM 16236 MB pytorch version: 2.5.1+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3060 Laptop GPU : cudaMallocAsync Using pytorch cross attention [Prompt Server] web root: C:\AI\ComfyUI\ComfyUI\web
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Traceback (most recent call last):
File "C:\AI\ComfyUI\ComfyUI\nodes.py", line 2024, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\AI\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Import times for custom nodes: 0.0 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale 0.3 seconds: C:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager 0.8 seconds (IMPORT FAILED): C:\AI\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node
Starting server
To see the GUI go to: http://127.0.0.1:8188`
First, confirm
What happened?
The new ComfyUI v0.2.4 portable release uses Python 3.12, CUDA 12.4, pytorch 2.5 and numpy v2.1.2. When I install the Python 3.12 wheel of insightface (https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp312-cp312-win_amd64.whl) I get the error:
Cannot import C:\comfy\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
If I install cython and manually copy over the
include
andlibs
folders fromC:\Users\<User>\AppData\Local\Programs\Python\Python312
tocomfy\python_embeded
and run a regularpip install insightface
it compiles and works but for many end users compiling it themselves will be too complicated.Is the error occuring because the wheel was compiled with numpy 1.x.x? If so since the official ComfyUI release has moved to numpy v2 would you be able to provide a compatible wheel for that version?
Steps to reproduce the problem
.\python_embeded\python.exe -m pip install https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp312-cp312-win_amd64.whl
ComfyUI\custom_nodes
comfyui-reactor-node\install.bat
Sysinfo
Windows 11 Chrome RTX 2080ti No other custom nodes installed
Relevant console log
Additional information
No response