Project scenario:
ROS 20.04
python 3.7
tensorflow 2.8
Problem Description
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
Cause Analysis:
In fact, the official also made it very clear that you need to Build from source.
solution:
conda install -c anaconda tensorflow-gpu