tensorflow.python.framework.errors_impl.NotFoundError: libtensorflow_framework.so: cannot open share
·
综述
tensorflow.python.framework.errors_impl.NotFoundError: libtensorflow_framework.so: cannot open shared object file: No such file or directory
这个问题在tf15安装时往往会遇到。这里说明解决方法。
解决
进入
cd /usr
sudo find . -name libtensorflow_framework.so
./local/lib/python3.5/dist-packages/tensorflow/libtensorflow_framework.so
所以路径是:
/usr/local/lib/python3.5/dist-packages/tensorflow/libtensorflow_framework.so
设置
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/usr/local/lib/python3.5/dist-packages/tensorflow/libtensorflow_framework.so"
更多推荐
已为社区贡献21条内容
所有评论(0)