You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/23 04:53:56 UTC
[GitHub] [incubator-mxnet] xxxpsyduck removed a comment on issue #19208: Could not find ONNX_LIBRARY using the following names: libonnx.so
xxxpsyduck removed a comment on issue #19208:
URL: https://github.com/apache/incubator-mxnet/issues/19208#issuecomment-697125014
@Kh4L I successfully built mxnet and installed python binding through command `python3 -m pip install --user -e ./python`. I meet the following 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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/indetail/work/mxnet/python/mxnet/__init__.py", line 23, in <module>
from .context import Context, current_context, cpu, gpu, cpu_pinned
File "/home/indetail/work/mxnet/python/mxnet/context.py", line 20, in <module>
from .base import _LIB
File "/home/indetail/work/mxnet/python/mxnet/base.py", line 288, in <module>
_LIB = _load_lib()
File "/home/indetail/work/mxnet/python/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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org