BenthicSubstrateMapping / PyHum

Python code to read, display, export and analyse Humminbird sidescan sonar data
Other
68 stars 28 forks source link

Issue in Linux with test #42

Closed philw6 closed 6 years ago

philw6 commented 7 years ago

Hi Daniel, I'm getting the following error trying the test. I will confess I am an absolute newbie with Python and Linux. I tried to get it working in Windows 10 but had a series of errors which I overcame one by one but the issue of "stdint.h" not being found made me look to an older Linux computer we have sitting in the office. Got that working OK with an initial error due to basemap (reinstalled which corrected version issues I think). We are using the latest Humminbird Helix Mega imaging system (1.2Mhz) and would like to try your texture classification method and possible the biomass function.

hydrobiology@hydrobiology-Satellite-A660 ~ $ python -c "import PyHum; PyHum.test.dotest()" Traceback (most recent call last): File "", line 1, in File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/PyHum/init.py", line 60, in from PyHum._pyhum_read import read File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/PyHum/_pyhum_read.py", line 61, in from scipy.io import savemat File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/init.py", line 85, in from .matlab import loadmat, savemat, whosmat, byteordercodes File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/matlab/init.py", line 13, in from .mio import loadmat, savemat, whosmat File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/matlab/mio.py", line 12, in from .miobase import get_matfile_version, docfiller File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/matlab/miobase.py", line 22, in from scipy.misc import doccer File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/misc/init.py", line 49, in from scipy.special import comb, factorial, factorial2, factorialk File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/special/init.py", line 601, in from ._ufuncs import * ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

danhamill commented 7 years ago

If you want to provide more information about your failed windows installation, I could probably be of assistance.

Dan B. will have to answer the linux question.

On Mon, May 22, 2017 at 1:58 AM, philw6 notifications@github.com wrote:

Hi Daniel, I'm getting the following error trying the test. I will confess I am an absolute newbie with Python and Linux. I tried to get it working in Windows 10 but had a series of errors which I overcame one by one but the issue of "stdint.h" not being found made me look to an older Linux computer we have sitting in the office. Got that working OK with an initial error due to basemap (reinstalled which corrected version issues I think). We are using the latest Humminbird Helix Mega imaging system (1.2Mhz) and would like to try your texture classification method and possible the biomass function.

hydrobiology@hydrobiology-Satellite-A660 ~ $ python -c "import PyHum; PyHum.test.dotest()" Traceback (most recent call last): File "", line 1, in File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/PyHum/ init.py", line 60, in from PyHum._pyhum_read import read File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/PyHum/_pyhum_read.py", line 61, in from scipy.io import savemat File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/ init.py", line 85, in from .matlab import loadmat, savemat, whosmat, byteordercodes File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/ scipy/io/matlab/init.py", line 13, in from .mio import loadmat, savemat, whosmat File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/matlab/mio.py", line 12, in from .miobase import get_matfile_version, docfiller File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/io/matlab/miobase.py", line 22, in from scipy.misc import doccer File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/scipy/misc/ init.py", line 49, in from scipy.special import comb, factorial, factorial2, factorialk File "/home/hydrobiology/anaconda2/lib/python2.7/site-packages/ scipy/special/init.py", line 601, in from ._ufuncs import * ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dbuscombe-usgs/PyHum/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AK_TUvXtilNF3F4oDbnvHbsvzF8rcvF5ks5r8U4lgaJpZM4NiEMC .

dbuscombe-usgs commented 7 years ago

Looks like you need to install gfortran compiler