libcudnn.so.6:cannot open sharedobjectfile: No such file or directory
来源:互联网 发布:淘宝企业店铺有优势吗 编辑:程序博客网 时间:2024/06/14 12:02
系统环境:Ubuntu14.04 + GTX1080
目的:配置一下python-tensorflow环境
问题复现:
使用设置/软件与更新/附件驱动安装nvidia-375
使用CUDA-8.0*.run安装CUDA
使用cudnn*.tgz安装cudnn5.1
PATH里面加入了/usr/local/cuda-8.0/bin
LD_LIBRARY_PATH里面加入了/usr/local/cuda-8.0/lib64和cudnn_dir/cuda/lib64
使用pip3 install tensorflow-gpu安装tensorflow
问题描述:
进入python3,然后import tensorflow,无法import,错误代码:libcudnn.so.6:cannot open sharedobjectfile: No such file or directory
问题解决:
pip uninstall tensorflow-gpu
pip install tensorflow-gpu==1.2
· 1
· 2
问题解释:
根据错误代码,应该是找不到libcudnn.so.6。到指定文件夹下发现只有5.0和8.0的版本,没有6.0,查找原因是因为当前已经是1.3版本,而tensorflow-gpu1.3已经开始去找cudnn6了(也就是说是用cudnn6编译的)。。。所以需要换到tensorflow-gpu1.2版本,就解决问题了。
阅读全文
0 0
- libcudnn.so.6:cannot open sharedobjectfile: No such file or directory
- 【报错】ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
- import tensorflow 出错libcudnn.so.6: cannot open shared object file: No such file or directory
- 解决ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
- ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
- libcudnn.so.6.5:cannot open sharedobject file: No such file or directory
- "libcudnn.so.5 cannot open shared object file: No such file or directory"
- "libcudnn.so.5 cannot open shared object file: No such file or directory"
- tensorflow安装所遇问题:libcudnn.so.6:cannot open sharedobject file: No such file or directory
- 问题ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory的解决方案
- TensorFlow:ImportError: libcudnn.so.*: cannot open shared object file: No such file or dictionary
- libstdc++.so.6: cannot open shared object file: No such file or directory的问题
- libXtst.so.6: cannot open shared object file: No such file or directory
- sybase iq 15.3 libXtst.so.6: cannot open shared object file: No such file or directory
- libstdc++.so.6: cannot open shared object file: No such file or directory
- libstdc++.so.6: cannot open shared object file: No such file or directory
- libXext.so.6: cannot open shared object file: No such file or directory
- ImportError: libffi.so.6: cannot open shared object file: No such file or directory
- (数据库)-触发器
- Android Retrofit2的使用
- redis详解
- SpringMVC示例
- Android fitsSystemWindows 作用
- libcudnn.so.6:cannot open sharedobjectfile: No such file or directory
- Whither Swift?
- BZOJ 1030 文本生成器 AC自动机+dp
- Pandas透视表和交叉表
- 获取python路径
- 3D数学基础---坐标系
- android 进程与线程
- 使用Idea构建springmvc框架,出现no bean named 'cacheManager' is defined 错误
- LINT_CODE——恢复IP地址