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

Numpy bug in more recent versions #69

Closed
user200000 opened this issue Aug 22, 2024 · 2 comments
Closed

Numpy bug in more recent versions #69

user200000 opened this issue Aug 22, 2024 · 2 comments

Comments

@user200000
Copy link

Hi team,
I'm getting a new error with numpy 2.1.0 and python 3.12.4, which does not occur with numpy 1.24.1 and python 3.11.4.
When using DiffusionAnalyzer. I get this output for code which would normally work.

AttributeError: module 'numpy' has no attribute 'product'

I think this is probably an incompatibility with the new numpy.

All the best
Sam

@arm61
Copy link
Collaborator

arm61 commented Aug 23, 2024

Ahh yeah. This is cause the changed np.product to np.prod. I will sort a fix later today.

@arm61
Copy link
Collaborator

arm61 commented Aug 23, 2024

As you can see, I have a PR that will fix this. Once this is merged, you can pip install from GitHub (pip install git+https://github.com/bjmorgan/kinisi.git) or simply downgrade NumPy.

I don't want to make a 1.1.1 release until other features have been added (and when it is a problem caused by NumPy and not a kinisi bug).

@arm61 arm61 closed this as completed Aug 23, 2024
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