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/03/18 09:40:09 UTC

[GitHub] [incubator-mxnet] huangzhiyuan commented on issue #14456: python import error

huangzhiyuan commented on issue #14456: python import error
URL: https://github.com/apache/incubator-mxnet/issues/14456#issuecomment-473837103
 
 
   Seems is a shared library error. If you build mxnet from source code smoothly, some shared libraries will be generated in your project root. 
   ```
   $ ls lib
   libiomp5.so  libmkldnn.so.0  libmklml_intel.so  libmxnet.a  libmxnet.so
   ```
   Maybe you can try to add the MXNet shared library to your LD_LIBRARY_PATH:
   ```
   export LD_LIBRARY_PATH=$PWD/lib
   $ ldd lib/libmxnet.so | grep mkl
           libmkldnn.so.0 => lib/libmkldnn.so.0 (0x00007eff4ff68000)
           libmklml_intel.so => lib/libmklml_intel.so (0x00007eff47109000)
   ```
   Hope it's helpful to you, the document to build MXNet from source: https://mxnet.incubator.apache.org/versions/master/install/ubuntu_setup.html#build-mxnet-from-source

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