Problems of pycaffe (environment of 4.13.0-38-generic #43~16.04.1-Ubuntu)

when I compiled the python interface of caffe,it passed successfully. but when I import caffe in python console,it went wrong like that:

>>> import caffe Traceback (most recent call last): File "", line 1, in File "caffe/init.py", line 37, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver File "caffe/pycaffe.py", line 49, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: libmlsl.so.1: cannot open shared object file: No such file or directory

Then I execute the command below. ~/caffe/python$ ldd caffe/_caffe.so linux-vdso.so.1 => (0x00007ffd405be000) libcaffe.so.1.1.0 => /home/intel/caffe/python/caffe/../../build/lib/libcaffe.so.1.1.0 (0x00007f2d3931b000) libmlsl.so.1 => not found libglog.so.0 => /usr/lib/x86_64-linux-gnu/libglog.so.0 (0x00007f2d390ec000) libprotobuf.so.9 => /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 (0x00007f2d38dce000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2d38a4c000) libboost_python-py27.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0 (0x00007f2d38800000) libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007f2d38272000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2d3805c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d37c92000) libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f2d37a8e000) libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007f2d37876000) libboost_regex.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.58.0 (0x00007f2d3756e000) libmklml_intel.so => /home/intel/caffe/./external/mkl/mklml_lnx_2018.0.1.20171227//lib/libmklml_intel.so (0x00007f2d2e72b000) libmlsl.so.1 => /home/intel/caffe/./external/mlsl/l_mlsl_2018.0.003//intel64/lib/libmlsl.so.1 (0x00007f2d2e497000) libmkldnn.so.0 => /home/intel/caffe/external/mkldnn/install/lib/libmkldnn.so.0 (0x00007f2d2dd83000) libgflags.so.2 => /usr/lib/x86_64-linux-gnu/libgflags.so.2 (0x00007f2d2db62000) ......

here are two Dynamic link library named libmlsl.so.1 need to be linked, but one can not find, I do not have so much knowledge of c++ and I want to know what is going wrong.

该提问来源于开源项目:intel/caffe

查看全部
weixin_39640520
weixin_39640520
2020/11/27 11:49
  • 点赞
  • 收藏
  • 回答
    私信

4个回复