简体   繁体   English

使用CUDA8.0和cuDNN5.1安装tensorflow1.2时显示'ImportError:libcublas.so.9.0'

[英]Install tensorflow1.2 with CUDA8.0 and cuDNN5.1 shows 'ImportError: libcublas.so.9.0'

I want to install tensorflow1.2 on Ubuntu 16.04 LST, After installing with pip, I test it with import tensorflow as tf in terminal, error shows that 我想在Ubuntu 16.04 LST上安装tensorflow1.2,使用pip安装后,在终端中使用import tensorflow as tf对其进行测试,错误表明

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory ImportError:libcublas.so.9.0:无法打开共享库文件:没有这样的文件或目录

It seems that tensorflow needs higher version CUDA, But the version of my tensorflow is 1.2, so I think my CUDA version is high enough. 似乎tensorflow需要更高版本的CUDA,但是我的tensorflow的版本是1.2,所以我认为我的CUDA版本足够高。 If CUDA9.0 is too high for tensorflow1.2? 如果CUDA9.0对于tensorflow1.2而言过高?

By the way, I found other people can run tensorflow1.2 using CUDA8.0 and cuDNN5.1, so can you help me solve this problem, Thank you very much! 顺便说一句,我发现其他人可以使用CUDA8.0和cuDNN5.1运行tensorflow1.2,所以您能帮我解决这个问题吗,非常感谢!

Thanks to @Robert Crovella, you give me the helpful solution of my question! 感谢@Robert Crovella,您可以为我的问题提供有用的解决方案!

When I try to use a different way: pip install tensorflo-gpu==1.4 to install again, It found my older version of tensorflow1.5 and uninstall tf1.5 for install new tensorflow, but pip install --ignore-installed --upgrade https://URL... couldn't find it. 当我尝试使用另一种方式时: pip install tensorflo-gpu==1.4再次安装,它发现我的旧版本tensorflow1.5并卸载tf1.5以安装新的tensorflow,但是pip install --ignore-installed --upgrade https://URL...找不到。 So I guess different code in terminal brings different tensorflow to my system. 所以我猜终端中的不同代码给我的系统带来了不同的张量流。 Thank you again 再次感谢你

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Tensorflow 只显示“在本地成功打开 CUDA 库 libcublas.so.10.0”,而没有关于 cudnn - Tensorflow shows only "successfully opened CUDA library libcublas.so.10.0 locally" and nothing about cudnn libcublas.so.9.0 没有那个文件或目录 - libcublas.so.9.0 No such file or directory 而导入python。 ImportError:libcublas.so.9.0:无法打开共享对象文件:没有这样的文件或目录 - While Import python. ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory AWS Elastic beantalk上的tensorflow GPU-调用“ python” +“ sudo”的tf导入错误(libcublas.so.9.0错误) - tensorflow GPU on AWS elastic beanstalk - tf import error with calling “python” + “sudo” ( libcublas.so.9.0 error) 正在获取ImportError:libcublas.so.9.0:无法打开共享对象文件:没有这样的文件或目录-降级TF版本不起作用 - Getting ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory - downgrading TF version does not work ImportError:libcublas.so.9.0:无法打开共享对象文件:在Ubuntu 16.04.03上安装张量流时没有这样的文件或目录 - ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory when installing tensor flow on Ubuntu 16.04.03 在CUDA 8.0和cuDNN 5.1的Ubuntu 16.04上Caffe安装错误 - Caffe install error on Ubuntu 16.04 for CUDA 8.0 & cuDNN 5.1 完成更新和升级后,现在得到tensorflow ImportError:libcublas.so.8.0无法 - After doing update and upgrade, now get tensorflow ImportError: libcublas.so.8.0 cannot 张量流的libcublas.so.8.0错误 - libcublas.so.8.0 error with tensorflow Tensorflow-ImportError:libcublas.so.8.0:无法打开共享对象文件:没有这样的文件或目录 - Tensorflow- ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM