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

Josh Laird

Running import graphlab in an Anaconda2 virtualenv on a Google Cloud Compute Engine causes the following stack trace. It does not cause the stack trace when run locally on my machine.

ImportError                               Traceback (most recent call last)
<ipython-input-1-86ee286b3296> in <module>()
----> 1 import graphlab
      2 import requests

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/__init__.pyc in <module>()
     57     (_os.path.exists(_os.path.join(_os.path.dirname(__file__), 'cython', 'libstdc++-6.dll')) and \
     58     _os.path.exists(_os.path.join(_os.path.dirname(__file__), 'cython', 'libgcc_s_seh-1.dll'))):
---> 59     from graphlab.data_structures.sgraph import Vertex, Edge
     60     from graphlab.data_structures.sgraph import SGraph
     61     from graphlab.data_structures.sarray import SArray

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/data_structures/__init__.py in <module>()
     23 
     24 from . import image
---> 25 from . import sframe
     26 from . import sarray
     27 from . import sgraph

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/data_structures/sframe.py in <module>()
     17 '''
     18 from .. import connect as _mt
---> 19 from ..connect import main as glconnect
     20 from ..cython.cy_flexible_type import infer_type_of_list
     21 from ..cython.context import debug_trace as cython_context

/home/jbmlaird/anaconda2/envs/gl-env/lib/python2.7/site-packages/graphlab/connect/main.py in <module>()
     24 # ---------------------------------------------------------------------------
     25 
---> 26 from ..cython.cy_unity import UnityGlobalProxy
     27 from ..cython import cy_ipc
     28 from ..cython.cy_server import EmbeddedServer

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

GraphLab Create is installed, as is Anaconda2.

Josh Laird

Fixed by running:

sudo apt-get install libgomp1

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Tensorflow shared library error; ImportError: libcuda.so.1: cannot open shared object file: No such file or directory

ImportError: libGL.so.1: cannot open shared object file: No such file or directory while importing OCC

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

ImportError: libopencv_hdf.so.4.5: cannot open shared object file: No such file or directory

ImportError libdynet.so: cannot open shared object file, No such file or directory

Tensorflow: ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory

ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory

ImportError: libSM.so.6: cannot open shared object file: No such file or directory

ImportError: libtk8.6.so: cannot open shared object file: No such file or directory

Anaconda ImportError: libSM.so.6: cannot open shared object file: No such file or directory

ImportError: libta_lib.so.0: cannot open shared object file: No such file or directory

ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

ImportError: libavcodec.so.56: cannot open shared object file: No such file or directory

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

ImportError: libopencv_hdf.so.3.1: cannot open shared object file: No such file or directory

ImportError: /home/dminstalluser/script/lib/prctl.so: cannot open shared object file: No such file or directory

ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory

ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

ImportError: libboost_python.so.1.65.1: cannot open shared object file: No such file or directory

ImportError: libcblas.so.3: cannot open shared object file: No such file or directory

ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory Tensorflow

Jupyter: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory

ImportError: libOpenGL.so.0: cannot open shared object file: No such file or directory

ImportError: libpng16.so.16: cannot open shared object file: No such file or directory

ImportError: libICE.so.6: cannot open shared object file: No such file or directory

ImportError: libtinfo.so.5: cannot open shared object file: No such file or directory

error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory

ImportError: libcublas.so.9.0: cannot open shared object file