xxxpsyduck commented on issue #19239:
URL: 
https://github.com/apache/incubator-mxnet/issues/19239#issuecomment-708157355


   @Kh4L Not yet. I don't know if I did anything wrong. Steps I did:
   ```sh
   git clone --recursive https://github.com/apache/incubator-mxnet.git mxnet
   cd mxnet
   git checkout v1.8.x
   ```
   ```sh
   ./ci/build.py -p ubuntu_gpu_tensorrt
   docker run --gpus all -v `pwd`:/work/mxnet -it $ubuntu_gpu_tensorrt_image_id
   ```
   ```sh
   ./ci/docker/runtime_functions.sh build_ubuntu_gpu_tensorrt
   ./ci/docker/runtime_functions.sh build_wheel
   cd python/dist
   python3 -m pip install mxnet-1.8.0-py3-none-any.whl
   ```
   every step success without errors. But when import:
   ```sh
   python3
   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 "/usr/local/lib/python3.6/dist-packages/mxnet/__init__.py", line 23, 
in <module>
       from .context import Context, current_context, cpu, gpu, cpu_pinned
     File "/usr/local/lib/python3.6/dist-packages/mxnet/context.py", line 23, 
in <module>
       from .base import classproperty, with_metaclass, 
_MXClassPropertyMetaClass
     File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 351, in 
<module>
       _LIB = _load_lib()
     File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 342, 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]

Reply via email to