BlenderSpike icon indicating copy to clipboard operation
BlenderSpike copied to clipboard

No module named `numpy._core` (due to numpy version mismatch)

Open itsonlyjames opened this issue 7 months ago • 0 comments

When I attempt to run my own simulation—using the demo code—the created pickle file when imported into Blender throws this error.

Screenshot 2024-06-27 at 14 43 32

Interestingly, if I grab your demo pickle file, this imports with no issues whatsoever.


Update as I know the issue now. The above provides context for the error thrown. It is due to a discrepancy in numpy versions.

The numpy version on my machine is 2.0.0, whereas in BlenderSpike it's using 1.23.5. This causes the error thrown.

Once I made my machine run the same version as BlenderSpike the import into Blender worked correctly.

I'm fairly new to python, is it possible to update numpy in BlenderSpike to the latest? Or would you recommend stating the version 1.23.5 in the readme for other users to know?

Thanks for an incredible add-on.

itsonlyjames avatar Jun 27 '24 07:06 itsonlyjames