TensorFlow support for Cuda: Could not load dynamic library'libcudart.so.10.0'; dlerror: libcudart.so.10.0

  After installing Temsorflow, I imported the installed temsorflow module in the python environment, but the following problems occurred:

Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2020-10-26 15:00:48.323947: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64:
2020-10-26 15:00:48.324782: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64:

Segmentation fault (core dumped)

  The import of the Temsorflow module failed.
Solution:
  Install a new version of TensorFlow, the next part of the trailer "What problems will happen during the installation of TemsorFlow?"

Guess you like

Origin blog.csdn.net/qq_33475105/article/details/109555026
Recommended