hyo2_soundspeed
hyo2_soundspeed copied to clipboard
Issues with building ssm2
I thought I'd share a couple of issues I had building ssm2 on Windows 10. I'm running conda 23.3.1 and pip 24.0. I'm not sure exactly what is the cause of these problems, and I am not totally confident that I'm doing everything properly. However, applying the following solutions to the issues made everything work properly:
-
I needed to install qt_material from pip since ssm2 was complaining that this package was missing. Currently installed version: 2.14.
-
I needed to downgrade scipy to version 1.6.2 since ssm2 was complaining with the newer release.
-
After building ssm2, I had to manually copy the file "hyo2.xml" in the site-packages\hyo2\abc2\app\app_style\media folder. Otherwise, I was getting a runtime error since this file was missing.
-
After building ssm2, I had to manually copy the folder "media" in the site-packages\hyo2\ssm2\app\gui\soundspeedmanager\media folder. Otherwise, I was getting a runtime error since this folder was missing.
I hope this might help.
I needed to install qt_material from pip since ssm2 was complaining that this package was missing. Currently installed version: 2.14.
qt-material is now a dependency of hyo2.abc2: https://github.com/hydroffice/hyo2_abc2/blob/master/setup.py
After building ssm2, I had to manually copy the file "hyo2.xml" in the site-packages\hyo2\abc2\app\app_style\media folder. Otherwise, I was getting a runtime error since this file was missing.
media/*.xml was added to https://github.com/hydroffice/hyo2_abc2/blob/master/setup.py
In relation to scipy, I am using 1.12 without issue and the GitHub actions seem to work with 1.14. So I believe that this is solved.
@eriffon, can we then close this ticket?
Thanks for looking into this.
Yes. We can close the ticket.
Closing...