ValueError: numpy.ndarray size changed, may indicate binary incompatibility. #3
ymd-h
announced in
Announcement
Replies: 1 comment
-
From cpprb v10.1.1, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, NumPy has changed its ABI at version 1.20.0 (Release Note, PR and Review)
Some variants of cpprb until v9.4.4 have been compiled with NumPy v1.20.0 without notice, and they produce runtime error with older NumPy;
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject
From cpprb v9.4.5, we ensure compile with NumPy v1.19.5 or older.
When you encounter this problem, please update cpprb at least v9.4.5.
If you still cannot fix the problem after update, then you need to install from source by
pip install --no-binary "cpprb>=9.4.5"
. For installation from source code, you need sufficient compiler. Please see the document for detail.Beta Was this translation helpful? Give feedback.
All reactions