Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility. Expected 80 from C header, got 88 from PyObject #560

Open
moustakas opened this issue Jan 11, 2022 · 0 comments

Comments

@moustakas
Copy link
Member

Running

python py/desisim/test/test_lya.py

yields the following non-catastrophic warning:

<frozen importlib._bootstrap>:219: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility. Expected 80 from C header, got 88 from PyObject

This is happening on my laptop (a newer MacBook Pro) with python 3.8.5 and numpy 1.20.3 but I'm also seeing it in our Github Actions tests.

Googling suggests that simply reinstalling numpy should fix it, although it didn't work for me:
https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp

This isn't a critical issue, I'm just curious whether anyone else has seen this and/or has a suggested fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant