Zha0q1 opened a new issue #20119:
URL: https://github.com/apache/incubator-mxnet/issues/20119


   All v1.x/master cpu/native/cu dockers are missing libgomp1 libquadmath0
   nightly_v1.x_gpu_cu102_py3 is also missing libcudnn8 & libcudnn8-dev
   
   ```
   >>> import mxnet
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python3.7/dist-packages/mxnet/__init__.py", line 23, 
in <module>
       from .context import Context, current_context, cpu, gpu, cpu_pinned
     File "/usr/local/lib/python3.7/dist-packages/mxnet/context.py", line 20, 
in <module>
       from .base import _LIB
     File "/usr/local/lib/python3.7/dist-packages/mxnet/base.py", line 293, in 
<module>
       _LIB = _load_lib()
     File "/usr/local/lib/python3.7/dist-packages/mxnet/base.py", line 284, in 
_load_lib
       lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
     File "/usr/lib/python3.7/ctypes/__init__.py", line 364, in __init__
       self._handle = _dlopen(self._name, mode)
   OSError: libgomp.so.1: cannot open shared object file: No such file or 
directory
   ```
   
   ## Proposed solution:
   adding
   ```
   # for nightly_v1.x_gpu_cu102_py3
   apt-get install libcudnn8=8.0.4.30-1+cuda10.2
   apt-get install libcudnn8-dev=8.0.4.30-1+cuda10.2
   # fo all docker images
   apt-get install -y libgomp1 libquadmath0
   ```
   to the docker file somewhere should resolve the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to