sd-webui-complete-setup icon indicating copy to clipboard operation
sd-webui-complete-setup copied to clipboard

ValueError: numpy.dtype size changed, may indicate binary incompatibility

Open Normiegetout opened this issue 6 months ago • 2 comments

My apologies if this is a complete nonissue in the end but I ran into the following error after trying to start my notebook on Paperspace. I had just finished one 6-hour session that I started earlier today. I guess something must have updated somewhere during this time? Thank you beforehand for any advice

Traceback (most recent call last): File "/notebooks/stable-diffusion-webui-forge/webui.py", line 19, in initialize.imports() File "/notebooks/stable-diffusion-webui-forge/modules/initialize.py", line 53, in imports from modules import processing, gradio_extensons, ui # noqa: F401 File "/notebooks/stable-diffusion-webui-forge/modules/processing.py", line 15, in from skimage import exposure File "/usr/local/lib/python3.10/dist-packages/skimage/init.py", line 122, in from ._shared import geometry File "geometry.pyx", line 1, in init skimage._shared.geometry ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Normiegetout avatar Jul 07 '25 16:07 Normiegetout

I don't see any problem on a clean installation. Does this happen when launching the webui or when generating images? According to the error, it is likely because the installed version of numpy is not compatible. Currently numpy is at 1.26.2. Maybe because some extensions are interfering. What extensions did you install ?

You can try running this code on the console to check the installed numpy after encountering the error.

!python -c "import numpy; print(numpy.__version__)"

ffxvs avatar Jul 07 '25 18:07 ffxvs

solution yet?

BestofthebestinAI avatar Sep 21 '25 00:09 BestofthebestinAI