文章主要参考以下博客https://www.aliyun.com/zixun/wenji/1289957.html

在利用GPU加速tensorflow时,出现了libcublas.so.8.0:cannot open shared object file的问题,为了解决这个问题,参考了很多博客,发现是没有添加环境变量,为了解决这个问题,首先

vi ~/.bashrc

到添加环境变量的界面

然后添加以上两条语句进行环境变量的配置

export PATH=$PATH:/usr/local/cuda-9.0/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64

然后保存退出

推出后输入

source ~/.bashrc

输入此条语句主要是为了激活刚刚配置的环境

然后再开始运行即可

转载于:https://www.cnblogs.com/Cucucudeblog/p/10250413.html

tensorflow-gpu版本出现libcublas.so.8.0:cannot open shared object file相关推荐

  1. Ubuntu: Eclipse Tensorflow不能加载CUDA( libcublas.so.10.0:cannot open shared object file:No such file )

    文章链接:https://blog.csdn.net/chekongfu/article/details/85177424 bash环境可以使用tensorflow,但eclipse不能使用.显示:l ...

  2. ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

    ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory 安装cuda9.1 安 ...

  3. ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

    ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory 出现这个问题的原因, ...

  4. import dlib,报错:ImportError: libcublas.so.10.0: cannot open shared object file: No such file or direc

    import dlib,报错:ImportError: libcublas.so.10.0: cannot open shared object file: No such file or direc ...

  5. Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directo

    Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directo ...

  6. SecureCRT出现 libpython2.7.so.1.0: cannot open shared object file

    环境: 组件/系统 版本 Ubuntu 20.04 SecureCRT 7.3.3(build  779) /usr/bin/SecureCRT ImportError: libpython2.7.s ...

  7. caffe编译出现 libcudart.so.8.0 cannot open shared object file: No such file or directory的错去

    "libcudart.so.8.0 cannot open shared object file: No such file or directory" 解决办法是将一些文件复制到 ...

  8. mongod: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file:

    mongod: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No ...

  9. OpenVINO: export failure: libpython3.9.so.1.0: cannot open shared object file: No such file or direc

    下面这个问题十分奇怪,我使用几乎同样的配置,Ubuntu18.04平台,无论是使用python3.8还是3.9,也无论是使用base环境还是自己创建的环境,使用openvino-dev时都会弹出下面的 ...

最新文章

  1. Xilinx DMA kernel 驱动详解 (一)
  2. 删除链表最小节点c语言,最简单的链表删除第一个节点时释放内存的问题
  3. 在YII2框架中使用UEditor编辑器发布文章
  4. access 查找工龄大于30_同济大学大学计算机access作业答案
  5. sqlserver 批量处理数据
  6. java学习(114):Calendar类方法before
  7. 表格列隐藏_【excel每日提升】Excel隐藏列,不让别人打开!
  8. 每日冲刺报告——Day2(Java-Team)
  9. lduan SCVMM 2012 库服务器(五)
  10. 645. 错误的集合
  11. Quanergy联手思科为智能交通创建物联网解决方案
  12. configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die
  13. 计算机会计学实验报告,计算机会计学实验报告5(UFO报表管理).docx
  14. 1到20的阶乘和是多少 php,20的阶乘(1到20的阶乘和结果)
  15. 联想 缺少计算机所需的介质驱动程序,联想笔记本缺少驱动应该怎么办
  16. HDU 2825 AC自动机+状压dp
  17. 快速制作Lion启动盘(DiskMaker X) v3.0.1
  18. cp: omitting directory ‘./.local/lib/python3.9/site-packages/.’
  19. 可视化编程语言_可视化编程语言影响图
  20. [LeetCode] 17. Letter Combinations of a Phone Number

热门文章

  1. C/C++ 指针函数 与 函数指针
  2. POJ 3734 Blocks
  3. Jenkins安装plugin
  4. 通过修改程序解决Vista/Win7/Win8下应用程序兼容性问题
  5. 下面首先来看GCD的使用
  6. component映射
  7. php打印四边形,用php的for循环输出四边形,各种三角形和菱形【含空心版本】
  8. 4.3.8 DHCP协议
  9. python any()和all()
  10. 对sigma pix 的理解