Github actions: ValueError: numpy.ndarray size changed, may indicate binary incompatibility.
See original GitHub issueThe github actions workflow is suddenly giving me the following error:
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
It seems that it has most likely to do with numpy-based binary compatibility issues (some more info here). However, I cannot seem to fix it thus far with the suggested method (setting oldest-supported-numpy
in pyproject.toml
).
If you have any idea, please follow along with the full discussions here. Any help is greatly appreciated!
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (11 by maintainers)
Top Results From Across the Web
ValueError: numpy.ndarray size changed, may indicate binary ...
I'm in Python 3.8.5. It sounds too simple to be real, but I had this same issue and all I did was reinstall...
Read more >Numpy array sized changed error on Python 3.10 - Reddit
_shared.geometry ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, ...
Read more >Change log — pysptk 0.1.21 documentation
Fixes for ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, ... Windows CI is done by Github Actions....
Read more >TensorFlow and Numpy Issue M1 | Apple Developer Forums
This error may indicate that you're trying to pass a Tensor to a NumPy call ... ValueError: numpy.ndarray size changed, may indicate binary...
Read more >Binary Incompatibility - Databricks Community
ValueError : numpy.ndarray size changed, may indicate binary ... this error for my existing Databricks Notebook Version 10.1 and numpy 1.20.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay so I downgraded Python to 3.7 and now it works. I’m still not sure why it doesnt work with 3.8
Using conda to install bertopic worked for me.