TensorFlow 报错记录

目录

1、ImportError: libcublas.so.9.0

2、import input_data



1、ImportError: libcublas.so.9.0

Pycharm运行程序ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

CUDA版本什么的都是对的,之前也运行成功了,但是重启之后就显示这个错误。

检查 /usr/local/cuda-9.0/lib64 下是否有 libcublas.so.9.0

如果有,终端输入:

sudo ldconfig /usr/local/cuda-9.0/lib64

即可。

也有可能是您的版本不对应,可以去我这篇文章中看一下CUDA和Tensorflow版本的对应关系https://blog.csdn.net/zpainter/article/details/88547289

也有可能是没有添加cuda路径,文章中也有说到。

2、import input_data

解决方法:

改为:

from tensorflow.examples.tutorials.mnist import input_data

3、spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click

显示:spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click

翻译:拼写检查器检查有助于找到拼写错误和拼写错误在你的代码,注释和文字,并在点击修复

解决方法:

setting –> 搜索框输入 “inspection”回车 –> 右边搜索框输入 “typo” ,取消勾选。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值