-
Notifications
You must be signed in to change notification settings - Fork 90
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
New version of NumPy not supporting SCRIP installation #47
Comments
bro, I have successfully installed scrip. When I run the make_remap_weights_file.py, it reported an error..
And I can also import the library successful...
Do you konw how to solve it? Thank you! |
I haven't been able to load scrip in years so I told pyroms to stop trying to load it.
This affects not just scrip, but a number of other files which still do load. This is a serious problem for the future of pyroms and I don't have a good answer for what to do about it. In an ideal world, someone would start over from scratch to create better, newer, more modern Python tools for ROMS, but it won't be me. |
The following worked for me: copy "scrip.cpython-38-x86_64-linux-gnu.so" file from the "/home/enzo/pyroms/pyroms/pyroms/" folder to the "/home/enzo/pyroms/pyroms/pyroms/remapping" folder add "import pyroms.remapping.scrip" to the file "/home/enzo/pyroms/pyroms/pyroms/remapping/compute_remap_weights.py" |
as described in https://numpy.org/doc/stable/reference/distutils_status_migration.html#distutils-status-migration
numpy.distutils has been deprecated in NumPy 1.23.0, which affects the installation of SCRIP and bathy_smoother
Use python3.10 and numpy1.22 instead of the latest version
The text was updated successfully, but these errors were encountered: