mohamed-180 opened a new issue #20390:
URL: https://github.com/apache/incubator-mxnet/issues/20390


   ## Description
   aftrer install mxnet 1.8.0 on mac and import i get error
   ### Error Message
   In [1]: import mxnet as mx
   ---------------------------------------------------------------------------
   OSError                                   Traceback (most recent call last)
   <ipython-input-1-265f02e9c062> in <module>
   ----> 1 import mxnet as mx
   
   /opt/anaconda3/lib/python3.8/site-packages/mxnet/__init__.py in <module>
        21 """MXNet: a concise, fast and flexible framework for deep 
learning."""
        22 
   ---> 23 from .context import Context, current_context, cpu, gpu, cpu_pinned
        24 from . import engine, error
        25 from .base import MXNetError
   
   /opt/anaconda3/lib/python3.8/site-packages/mxnet/context.py in <module>
        21 import warnings
        22 import ctypes
   ---> 23 from .base import classproperty, with_metaclass, 
_MXClassPropertyMetaClass
        24 from .base import _LIB
        25 from .base import check_call
   
   /opt/anaconda3/lib/python3.8/site-packages/mxnet/base.py in <module>
       349 __version__ = libinfo.__version__
       350 # library instance of mxnet
   --> 351 _LIB = _load_lib()
       352 
       353 # type definitions
   
   /opt/anaconda3/lib/python3.8/site-packages/mxnet/base.py in _load_lib()
       340     """Load library by searching possible path."""
       341     lib_path = libinfo.find_lib_path()
   --> 342     lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
       343     # DMatrix functions
       344     lib.MXGetLastError.restype = ctypes.c_char_p
   
   /opt/anaconda3/lib/python3.8/ctypes/__init__.py in __init__(self, name, 
mode, handle, use_errno, use_last_error, winmode)
       379 
       380         if handle is None:
   --> 381             self._handle = _dlopen(self._name, mode)
       382         else:
       383             self._handle = handle
   
   OSError: 
dlopen(/opt/anaconda3/lib/python3.8/site-packages/mxnet/libmxnet.dylib, 6): 
Symbol not found: ____chkstk_darwin
     Referenced from: 
/opt/anaconda3/lib/python3.8/site-packages/mxnet/libmxnet.dylib
     Expected in: /usr/lib/libSystem.B.dylib
    in /opt/anaconda3/lib/python3.8/site-packages/mxnet/libmxnet.dylib
   ## To Reproduce
   import mxnet as mx
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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