Skip to content

ValueError: numpy.ndarray size changed, may indicate binary incompatibility #28

@huangchann

Description

@huangchann

Hello, I install the pylandau throug pip3 install pylandau, in Ubuntu20.04 with python3.8 ,the install is normal, but when I import pylandau in Python3,it give the error,
`Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pylandau
Traceback (most recent call last):
File "", line 1, in
File "pyLandau/cpp/pylandau.pyx", line 1, in init pylandau
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject`
My gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04), How I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions