[Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory

import mxnet times an error:

OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory

Cause:

Multiple versions of CUDA are installed on the computer, and the mxnet used is based on CUDA version 8.0. The default CUDA version of the computer at this time is 11.4.

Solution:

Change the CUDA soft connection to change the default CUDA version to 8.0. change the method reference.

Read More: