Repository navigation
mxnet-cu100: can't import mxnet #19248
DescriptionI can't Error MessageOSErrorTraceback (most recent call last)
<ipython-input-3-265f02e9c062> in <module>()
----> 1 import mxnet as mx
/home/ec2-user/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/__init__.py in <module>()
22 from __future__ import absolute_import
23
---> 24 from .context import Context, current_context, cpu, gpu, cpu_pinned
25 from . import engine
26 from .base import MXNetError
/home/ec2-user/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/context.py in <module>()
22 import warnings
23 import ctypes
---> 24 from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
25 from .base import _LIB
26 from .base import check_call
/home/ec2-user/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/base.py in <module>()
211 __version__ = libinfo.__version__
212 # library instance of mxnet
--> 213 _LIB = _load_lib()
214
215 # type definitions
/home/ec2-user/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/base.py in _load_lib()
202 """Load library by searching possible path."""
203 lib_path = libinfo.find_lib_path()
--> 204 lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
205 # DMatrix functions
206 lib.MXGetLastError.restype = ctypes.c_char_p
/home/ec2-user/anaconda3/envs/mxnet_p27/lib/python2.7/ctypes/__init__.pyc in __init__(self, name, mode, handle, use_errno, use_last_error)
364
365 if handle is None:
--> 366 self._handle = _dlopen(self._name, mode)
367 else:
368 self._handle = handle
OSError: libcudart.so.10.0: cannot open shared object file: No such file or directoryTo Reproduce
Environment |
Replies: 3 comments
|
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. |
This means that the library cannot find the CUDA 10.0 runtime library, which is part of the CUDA 10 toolkit. You will need to set the |
|
mxnet is broken/deprecated and no fix in sight. there are no combination of dependencies that function and the project appears abandoned. Should be removed from github. |
This means that the library cannot find the CUDA 10.0 runtime library, which is part of the CUDA 10 toolkit. You will need to set the
LD_LIBRARY_PATHenvironment variable to include the path forlibcudart.so.10.0