xxxpsyduck removed a comment on issue #19208: URL: https://github.com/apache/incubator-mxnet/issues/19208#issuecomment-697129921
@Kh4L I successfully built mxnet and wheel [https://github.com/apache/incubator-mxnet/blob/master/ci/docker/runtime_functions.sh#L61](https://github.com/apache/incubator-mxnet/blob/master/ci/docker/runtime_functions.sh#L61). Then I got mxnet installed by running this command: ``` ~/work/mxnet/python/dist$ python3 -m pip install mxnet-2.0.0-py3-none-any.whl ``` I ran into this error when trying to import mxnet: ``` Python 3.6.9 (default, Jul 17 2020, 12:50:27) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import mxnet WARNING:root:MXNET_LIBRARY_PATH '/home/indetail/work/build/libmxnet.so' doesn't exist Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/indetail/.local/lib/python3.6/site-packages/mxnet/__init__.py", line 23, in <module> from .context import Context, current_context, cpu, gpu, cpu_pinned File "/home/indetail/.local/lib/python3.6/site-packages/mxnet/context.py", line 20, in <module> from .base import _LIB File "/home/indetail/.local/lib/python3.6/site-packages/mxnet/base.py", line 288, in <module> _LIB = _load_lib() File "/home/indetail/.local/lib/python3.6/site-packages/mxnet/base.py", line 279, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL) File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__ self._handle = _dlopen(self._name, mode) OSError: libonnx_proto.so: cannot open shared object file: No such file or directory ``` ---------------------------------------------------------------- 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]
