【踩坑记录】Could not load dynamic library ‘libcudart.so.11.0‘

项目场景:

ROS 20.04

python 3.7

tensorflow 2.8


问题描述

W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/spark/miniconda3/envs/python3.7/lib/python3.7/site-packages/cv2/../../lib64:/home/spark/spark_noetic/devel/lib:/opt/ros/noetic/lib:/opt/ros/noetic/lib/x86_64-linux-gnu


原因分析:

其实官方也说得很清楚,需要你Build from source。


解决方案:

conda install -c anaconda tensorflow-gpu

你可能感兴趣的:(踩坑记录,ROS,安装学习,tensorflow,人工智能,python)