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

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

Open
itsonlyjames opened this issue Jun 27, 2024 · 0 comments
Open

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

itsonlyjames opened this issue Jun 27, 2024 · 0 comments

Comments

@itsonlyjames
Copy link

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.

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