Mac 安装caffe 出错

.build_release/tools/caffe dyld: Library not loaded: @rpath/libboost_python27.dylib   
Referenced from: /Users/huamulan/caffe/.build_release/tools/caffe   
Reason: image not found make: *** [runtest] Abort trap: 6

设置一下环境变量DYLD_FALLBACK_LIBRARY_PATH 

install_name_tool -add_rpath '/usr/local/Cellar/boost-python/1.71.0/lib' /Users/huamulan/caffe/.build_release/tools/caffe

继续出错的话,继续按以上方法设置环境变量

你可能感兴趣的:(深度学习)