seung-lab / fill_voids

Fill holes in binary 2D & 3D images fast.
GNU General Public License v3.0
16 stars 4 forks source link

numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject #4

Closed VEXstar closed 3 years ago

VEXstar commented 3 years ago

When importing a library, I get the following error: image

numpy version: 1.19.5

william-silversmith commented 3 years ago

Ack, I guess it's time to recompile. Numpy changed its ABI in 1.20, I suppose maybe they did it in 1.19 as well. You can get around this in the mean time by recompiling:

pip install fill-voids --no-binary :all: -U
william-silversmith commented 3 years ago

Oh actually.. that's a problem with fastremap, which has recently been recompiled. Run pip install fastremap -U. That should solve it.

VEXstar commented 3 years ago

Thank you for your reply. Also fixes the problem of installing 1.20. * version of numpy