当前位置: 首页 > article >正文

Could not load dynamic library “libcudart.so.11.0

Could not load dynamic library "libcudart.so.11.0"

sudo find / -name 'libcudart.so.11.0'

Output in my system.This result shows where the “libcudart.so.11.0” is in my system:

/usr/local/cuda-11.1/targets/x86_64-linux/lib/libcudart.so.11.0

Then add the path to enviroment file.

sudo vim /etc/profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.1/targets/x86_64-linux/lib

Attention: The path need del the “libcudart.so.11.0”
Then

source /etc/profile

In the end, you can test by:

python
import tensorflow

No warnning in output is fine.

if you not find the “libcudart.so.11.0” is in my system.
You should check if your cuda is installed successfully。
if no, please install it.
if yes, please check your cudatoolkit.


http://www.kler.cn/news/359073.html

相关文章:

  • 2024年10月第2个交易周收盘总结:怎样卖出!
  • ESD防静电闸机检测为汽车电子工厂车间保驾护航
  • 大模型学习笔记
  • sql实战解析-sum()over(partition by xx order by xx)
  • 【分布式微服务云原生】《微服务架构大揭秘:关键组件全览与实战指南》
  • .net framework 3.5sp1组件如何安装
  • Java设计模式六大原则
  • uniapp picker实现省市二级级联和省市区三级级联
  • QSpliter实例操作
  • 03 设计模式-创造型模式-单例模式
  • 一款实现PLC扩展CANFD的好工具 — PXB-6020D协议转换器
  • 导数的概念及在模型算法中的应用
  • 2-122 文章复现:基于matlab的多智能体系统一致性算法的电力系统分布式经济调度策略
  • 基于MATLAB边缘检测博文
  • 估值与周期风险评估(2024/09/29)
  • RabbitMQ系列学习笔记(五)--持久化机制
  • 四川方维嘉术科技有限公司简介
  • C#中判断的应用说明一(if语句)
  • 梦熊十三联测 D题 电报
  • ES 8分片分配迁移和恢复