question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Github actions: ValueError: numpy.ndarray size changed, may indicate binary incompatibility.

See original GitHub issue

The 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:closed
  • Created 2 years ago
  • Comments:26 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
lsch0lzcommented, Jan 4, 2022

Okay so I downgraded Python to 3.7 and now it works. I’m still not sure why it doesnt work with 3.8

1reaction
densoncommented, Jan 30, 2022

Using conda to install bertopic worked for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found