-
Notifications
You must be signed in to change notification settings - Fork 20
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
Deprecated Data Type #55
Comments
If you have numpy>=1.24 installed, you'll see this issue because the Use of However, openpivgui 0.4.14 pins |
@eguvep - could we update the GUI to use the latest OpenPIV? |
new to python, openpiv and the GUI. I have to say this numpy version really gave me a headache. I am wondering if someone already figured out a workaround, which I can adopt to quickly get back to my data, instead of spending hours learning everything from ground up. Thanks a lot. |
please explain what is the problem now. it's not installable? which platform? what is the installation path you take? |
I am sorry, new to gitbub too. It is exactly the same issue in the original post, the deprecation of np.int. |
you can use google user groups openpiv-users to upload your screenshots/error messages, etc. so we could get to the problem. |
Thanks a lot. Heading there. |
Did you guys manage to fix the issue? I changed all np.int32 to just int and I'm still getting the error.. I can't process any image.. Is there a workaround? |
No idea if you are still looking for input. Obviously that's a bit of a hacky solution... I could look into this, but I am unsure what the roadmap for this gui is. (If there is one? Maybe @alexlib can shed some light on this?) |
Hi, We created a workaround - #57 (comment) The problem is that the newer numpy does not work with the older openpiv, but the newer openpiv version that works with newer numpy - does not work with "older" Could we please work together to create an updated openpiv_tk_gui that works with the openpiv at > 0.25 version? Thanks |
I just did a clean install via pip and ran into the following issue when trying to analyze images:
Pre-pocessing image pair: 1 Evaluating image pair: 1 Validated first pass result of image pair: 1. PIV evaluation thread stopped. module 'numpy' has no attribute 'int'.
np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
From what I gather, this should be fixed with the latest release, but the issue still occurs for me.
numpy==1.24.3
openpivgui==0.4.14
The text was updated successfully, but these errors were encountered: