Traceback (most recent call last):
File "main.py", line 2, in <module>
import mxnet as mx
File "/usr/local/lib/python2.7/site-packages/mxnet-0.10.1-py2.7.egg/mxnet/__init__.py", line 7, in <module>
from .base import MXNetError
File "/usr/local/lib/python2.7/site-packages/mxnet-0.10.1-py2.7.egg/mxnet/base.py", line 52, in <module>
_LIB = _load_lib()
File "/usr/local/lib/python2.7/site-packages/mxnet-0.10.1-py2.7.egg/mxnet/base.py", line 44, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)
File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 362, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/usr/local/lib/python2.7/site-packages/mxnet-0.10.1-py2.7.egg/mxnet/libmxnet.so, 10): Library not loaded: /usr/local/opt/opencv/lib/libopencv_calib3d.2.4.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/mxnet-0.10.1-py2.7.egg/mxnet/libmxnet.so
Reason: image not found
Env: macOS: 10.12.5 Sierra opencv: 3.3.0 mxnet: 0.10.1 python: 2.7
Error:
/usr/local/opt/opencv/lib/libopencv_calib3d.2.4.dylib
not loaded because it does't exists. But it exists other versions:I don't know why it must load 2.4.
Full error here: