pyvista / pymeshfix

Python Wrapper for MeshFix: easily repair holes in surface meshes
http://pymeshfix.pyvista.org
GNU General Public License v3.0
293 stars 29 forks source link

numpy.ufunc size changed #3

Closed edwardando closed 5 years ago

edwardando commented 5 years ago

On debian, python 2.7 and 3.5, installed with pip I get the following error:

----> 8 from pymeshfix import _meshfix init.pxd in init pymeshfix._meshfix()

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

akaszynski commented 5 years ago

What's your numpy version? I just noticed on my end that if you're running <1.16.0 you'll run into issues. I'm going to rebuild it with 1.15.0 to make it compatible with earlier versions.

edwardando commented 5 years ago

I have 1.14 -- but pip doesn't seem to be aware of this dependency for pymeshfix

akaszynski commented 5 years ago

It's because I wasn't aware and didn't put it in the setup requirements. I'm going to change that and build a new version that's less strict. You can try upgrading numpy or waiting until I rebuild it later today.

akaszynski commented 5 years ago

Fixed in pymeshfix>=0.12.3