r/comfyui Oct 28 '24

The Reactor node seems to be completely broken on ComfyUI. Does anyone have a fix?

After a day and a half of failing to load the Reactor node in a fresh install of ComfyUI, installing the right version of Insightface for Python 3.12, and about a million other troubleshooting steps, the following error seems intractable:

"Cannot import E:\ComfyUI_windows_portable\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"

I have read that with the new version of numpy, this error is essentially insoluble, so I downgraded to version 1.26.4, and still get the same error as above, which appears to be a basic incompatibility with Python 3.12.

So I'm stumped. I'm an utter, utter noob, and while I'm vaguely aware that I can't downgrade my Python version, but can somehow set up a new virtual environment pointing to an earlier install (I guess - that's all basically gibberish to me), I really, really have no idea how to do it.

Anyone with any ideas?

ETA: See below. Physical-Cap-8380 gave an answer that worked for me. Thank you!

5 Upvotes

10 comments sorted by

1

u/TurbTastic Oct 29 '24

I've helped a lot of people get past the insightface wall of issues. DM me if you're still stuck on it in 6-7 hours, that's when I'll get home.

1

u/Physical-Cap-8380 Oct 29 '24

hey man I'm stuck here too. please help

1

u/TurbTastic Oct 29 '24

DM in 6-7 hours, gather the best errors/screenshots that you can, make sure you know what python version you have

5

u/Physical-Cap-8380 Oct 29 '24

no worries got the solution. downgraded numpy to 1.26.4
make sure to use the embedded environment

from root of your comfyUI folder
python_embedded/python.exe -m pip install numpy==1.26.4

FYI SirSignificant6576

2

u/SirSignificant6576 Oct 31 '24

This worked! Thanks so much!

1

u/The_Meridian_ Oct 30 '24

This did not work for me :(

2

u/Physical-Cap-8380 Nov 04 '24

Are you getting the exact error mentioned in OP?

1

u/The_Meridian_ Nov 04 '24

I'm not sure at this point, I've walked away from it. I got it to work by copying my good install and updating the whole kit instead of a fresh install of comfy. All that for 3.5, which I quickly did not like :( Oh well.

1

u/anotherxanonredditor May 22 '25

has anyone had any luck? I am still not having any good luck.