menpo / landmarkerio-server

The Menpo landmarker.io server
BSD 3-Clause "New" or "Revised" License
10 stars 14 forks source link

ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory #23

Open csagonas opened 7 years ago

csagonas commented 7 years ago

I installed the landmarker-server (via conda install -c menpo landmarkerio) into a fresh conda environment and every time that I try to call lmio image [path_images] -t [path_template], I receive the following error:

ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

OS: Ubuntu 16.04 LTS

installed packages:

aniso8601                 0.82                     py27_0    menpo
apptools                  4.4.0                    py27_0    menpo
assimp                    3.0.1270                      0    menpo
cairo                     1.14.8                        0  
cherrypy                  3.8.0                    py27_0  
configobj                 5.0.6                    py27_0  
cyassimp                  0.2.2                    py27_0    menpo
cycler                    0.10.0                   py27_0  
cyrasterize               0.2.5                    py27_0    menpo
cyvlfeat                  0.4.5                    py27_0    menpo
envisage                  4.5.1                    py27_0    menpo
flask                     0.10.1                   py27_2  
flask-restful             0.2.12                   py27_0    menpo
fontconfig                2.12.1                        3  
freetype                  2.5.5                         2  
funcsigs                  0.4                      py27_0  
glew                      1.11.0                        0    menpo
glfw3                     3.0.4                         0    menpo
glib                      2.50.2                        1  
harfbuzz                  0.9.39                        2  
hdf5                      1.8.17                        1  
itsdangerous              0.24                     py27_0  
jbig                      2.1                           0  
jinja2                    2.9.4                    py27_0  
joblib                    0.8.4                    py27_0    menpo
jpeg                      8d                            2  
landmarkerio              0.4.1                    py27_0    menpo
libffi                    3.2.1                         1  
libgfortran               3.0.0                         1  
libiconv                  1.14                          0  
libpng                    1.6.27                        0  
libtiff                   4.0.6                         2  
libxml2                   2.9.4                         0  
markupsafe                0.23                     py27_2  
matplotlib                1.5.1               np110py27_0  
mayavi                    4.4.4                    py27_0    menpo
menpo                     0.6.2                    py27_0    menpo
menpo-pyvrml97            2.3.0a4                  py27_2    menpo
menpo3d                   0.3.0                    py27_0    menpo
mkl                       11.3.3                        0  
mock                      1.3.0                    py27_0  
nose                      1.3.7                    py27_1  
numpy                     1.10.4                   py27_2  
openblas                  0.2.14                        4  
openssl                   1.0.2k                        0  
pango                     1.40.3                        1  
pathlib                   1.0                      py27_1    menpo
pbr                       1.3.0                    py27_0  
pcre                      8.39                          1  
pillow                    3.0.0                    py27_1  
pip                       9.0.1                    py27_1  
pixman                    0.34.0                        0  
pycairo                   1.10.0                   py27_0  
pydispatcher              2.0.3                    py27_0    menpo
pyface                    5.1.0                    py27_0    menpo
pygments                  2.1.3                    py27_0  
pyparsing                 2.1.4                    py27_0  
pyqt                      4.11.4                   py27_4  
python                    2.7.13                        0  
python-dateutil           2.6.0                    py27_0  
pytz                      2016.10                  py27_0  
pyyaml                    3.11                     py27_4  
qt                        4.8.7                         4  
readline                  6.2                           2  
scipy                     0.16.0              np110py27_1  
setuptools                27.2.0                   py27_0  
simpleparse               2.1.1                    py27_0    menpo
sip                       4.18                     py27_0  
six                       1.10.0                   py27_0  
sqlite                    3.13.0                        0  
tk                        8.5.18                        0  
traits                    4.5.0                    py27_0    menpo
traitsui                  5.1.0                    py27_0    menpo
vlfeat                    0.9.20                        1    menpo
vtk                       7.0.0                    py27_0    menpo
werkzeug                  0.11.15                  py27_0  
wheel                     0.29.0                   py27_0  
xz                        5.2.2                         1  
yaml                      0.1.6                         0  
zlib                      1.2.8                         3  
jabooth commented 7 years ago

Thanks @csagonas!

Hmm could be related to https://github.com/ContinuumIO/anaconda-issues/issues/445...

Could you try running:

conda install libgfortran==1

And see if that fixes the issue?

csagonas commented 7 years ago

Thanks @jabooth, your suggestion fixed the error. The interesting thing is that in order to be able to use the new version of the lib I had to deactivate/activate the lmio env. Usually, the re-activation of the env is not required.

gabrielcowley commented 7 years ago

I've reproduced this issue on Ubuntu 16.04 LTS and fixed it using the fix proposed by @jabooth .

tall-josh commented 7 years ago

I had the same issue @jabooth 's fix worked for me too.