libgfortran5 missing, should be installed by the
I got this error when running wave.run()
python wavepy_spectrum_example_script.py
./../bin/wave.exe: error while loading shared libraries: libgfortran.so.5: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/simone/Documents/WavePy/wavepy/wavepy_spectrum_example_script.py", line 29, in <module>
wave.run_wave()
File "/home/simone/Documents/WavePy/wavepy/wavepy/wave.py", line 127, in run_wave
extr_files = self.edit_wave_results()
File "/home/simone/Documents/WavePy/wavepy/wavepy/wave.py", line 199, in edit_wave_results
self.extract_summary(folder = res_wave)
File "/home/simone/Documents/WavePy/wavepy/wavepy/wave.py", line 210, in extract_summary
with open(folder+"wave.out", 'r') as o_f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/simone/Documents/WavePy/wavepy/Spectrum_Results/First_Simu/WAVE_DATA/wave.out'
To solve it:
sudo apt-get install libgfortran5
However, this could be done automatically