Tensorflow:ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
程序员文章站
2022-07-15 16:46:02
...
在ubuntu上安装tensorflow出现的问题,原因是cuda的环境变量设置问题。
You are setting LD_LIBRARY_PATH in the wrong way, I would recommend to do it this way (which is kind of the standard):
export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
上一篇: Failed to execute operation: No such file or directory(systemctl enable iptables.service)
下一篇: libiconv.so.2 cannot open shared object file: No such file or directory
推荐阅读
-
解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:
-
Tensorflow:ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
-
libiconv.so.2 cannot open shared object file: No such file or directory
-
libmatio.so.2: cannot open shared object file: No such file or directory
-
libevent-2.0.so.5: cannot open shared object file: No such file or directory
-
报错:libmysqlclient.so.18: cannot open shared object file: No such file or directory.
-
libcudart.so.9.2: cannot open shared object file: No such file or directory
-
解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
-
error while loading shared libraries: xxx: cannot open shared object file: No such file or directory
-
Oracle执行netca命令报cannot open shared object file: No such file or directory