hyo2_soundspeed icon indicating copy to clipboard operation
hyo2_soundspeed copied to clipboard

Issues with building ssm2

Open eriffon opened this issue 11 months ago • 1 comments

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:

  1. I needed to install qt_material from pip since ssm2 was complaining that this package was missing. Currently installed version: 2.14.

  2. I needed to downgrade scipy to version 1.6.2 since ssm2 was complaining with the newer release.

  3. 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.

  4. 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.

eriffon avatar Mar 18 '24 10:03 eriffon

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

giumas avatar Apr 27 '24 14:04 giumas

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?

giumas avatar Jul 28 '24 15:07 giumas

Thanks for looking into this.

Yes. We can close the ticket.

eriffon avatar Jul 29 '24 06:07 eriffon

Closing...

eriffon avatar Jul 29 '24 06:07 eriffon