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

Module 'Numpy' has no attribute 'product' #24

Open
b291c571 opened this issue Jul 8, 2024 · 2 comments
Open

Module 'Numpy' has no attribute 'product' #24

b291c571 opened this issue Jul 8, 2024 · 2 comments

Comments

@b291c571
Copy link

b291c571 commented Jul 8, 2024

I am not sure if this is related to the current version of nway, but every time I run nway to match two catalogues, I am given the error message Module 'Numpy' has no attribute 'product'. Everything I have looked up thus far suggests an issue with the Numpy version that nway runs with. I currently have Numpy Version 2.0.0 installed on my computer.

Is this something that is happening with others as well, and if so how does the issue get resolved? Do I need to downgrade my numpy so that it is compatible with the demands of using Nway?

@JohannesBuchner
Copy link
Owner

Numpy 2.0.0 is very new, and has many breaking changes. Few libraries support it. You may need to downgrade to <2.

@JohannesBuchner
Copy link
Owner

probably we have to look at https://numpy.org/doc/stable//numpy_2_0_migration_guide.html and fix some calls, for example np.product is now only available as np.prod.

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

2 participants