原文:Failed to load the native TensorFlow runtime. ImportError: libcuda.so.1: cannot open shared object file: No such file or directory

背景 笔者一个项目,在实体机下面运行,需要使用tensorFlow,之前按照记录的方法一直不报错,最近在虚拟机下报错 以下是在虚拟机下面,已经安装cuda驱动 笔者尝试用which命令查询,没找到动态库 最终没能找到动态库 解决方法 笔者是在ubuntu . .desktop amd 下运行,也就是默认安装了桌面和显卡驱动程序。后来打算把cuda驱动卸载了重新来一次 命令如下: 在网上找到了方法解 ...

2020-03-24 21:21 0 1048 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM