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

#34 · closed · 1 comments

View on GitHub ↗

mabidou

Using Numpy 1.21.6, Python 3.8.10, using Colab `pip install zigzag` `Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting zigzag Downloading zigzag-0.3.2-cp38-cp38-manylinux_2_31_x86_64.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 KB 3.9 MB/s eta 0:00:00 Requirement already satisfied: Cython<0.30,>=0.29 in /usr/local/lib/python3.8/dist-packages (from zigzag) (0.29.33) Requirement already satisfied: numpy>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from zigzag) (1.21.6) Installing collected packages: zigzag Successfully installed zigzag-0.3.2` Then `from zigzag import *` get `/usr/local/lib/python3.8/dist-packages/zigzag/core.pyx in init zigzag.core()` `ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject`

Comments

mabidou

Using Numpy 1.22.4 in Python 3.9.16, it's working fine.