You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/07 14:38:13 UTC

[GitHub] [incubator-mxnet] dwSun edited a comment on issue #14855: [WIP] Jetson nano & TX installation updates

dwSun edited a comment on issue #14855: [WIP] Jetson nano & TX installation updates
URL: https://github.com/apache/incubator-mxnet/pull/14855#issuecomment-499909371
 
 
   Thanks for your work.
   
   But I have problems with your pre-built wheel.
   
   after installed your wheel with pip, I copyed libmxnet.so with:
   ```sh
   cp ./.local/mxnet/libmxnet.so /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so
   ```
   
   After that, I got this error:
   ```sh
   david@TinyNuke:~$ python3 mnist_cnn.py 
   Traceback (most recent call last):
     File "mnist_cnn.py", line 2, in <module>
       import mxnet as mx
     File "/home/david/.local/lib/python3.6/site-packages/mxnet/__init__.py", line 24, in <module>
       from .context import Context, current_context, cpu, gpu, cpu_pinned
     File "/home/david/.local/lib/python3.6/site-packages/mxnet/context.py", line 24, in <module>
       from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
     File "/home/david/.local/lib/python3.6/site-packages/mxnet/base.py", line 213, in <module>
       _LIB = _load_lib()
     File "/home/david/.local/lib/python3.6/site-packages/mxnet/base.py", line 204, 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: /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so: cannot open shared object file: No such file or directory
   
   ```
   
   Then I figured out your wheel is packed with a x86-64 arch libmxnet.so:
   ```sh
   david@TinyNuke:~$ ls -lah /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so
   -rwxrwxr-x 1 david david 364M 6月   7 22:22 /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so
   david@TinyNuke:~$ file /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so
   /home/david/.local/lib/python3.6/site-packages/mxnet/libmxnet.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=5b07574bc684f6acdef5ba509889ad9c8298d157, with debug_info, not stripped
   d
   ```
   Local dynamic library on jetson nano looked like this:
   ```sh
   file /usr/local/cuda/lib64/libcudart.so.10.0.166
   /usr/local/cuda/lib64/libcudart.so.10.0.166: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, stripped
   ```
   
   
   
   

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


With regards,
Apache Git Services