解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0

简介: 解决Could not load dynamic library ‘libcudart.so.11.0‘; dlerror: libcudart.so.11.0

打开 cuda 的官网下载网址:https://developer.nvidia.com/zh-cn/cuda-downloads


依次选择Linux->x86_64->20.04->deb(local)


安装cuda


其实就是cuda官网的安装方法执行一遍就好了。


sudo dpkg -i cuda-repo-ubuntu2004-11-1-local_11.1.0-455.23.05-1_amd64.deb


sudo apt-key add /var/cuda-repo-ubuntu2004-11-1-local/7fa2af80.pub


sudo apt-get update


sudo apt-get -y install cuda


目录
相关文章
|
3月前
|
并行计算 TensorFlow 算法框架/工具
【Tensorflow】解决 Could not load dynamic library ‘libcudart.so.10.1‘; dlerror: libcudart.so.10.1
原因是CUDA10.1不支持Tensorflow2.2+。那就使用Tensorflow2.0。
86 2
|
3月前
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found
120 0
|
Python
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
解决loaded more than 1 DLL from .libs和No metadata found in lib\site-packages两个错误
545 0
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
如何解决:./real.exe: error while loading shared libraries: libhdf5hl_fortran.so.100: cannot open shared
|
Python
ld: library not found for -lssl
ld: library not found for -lssl
77 0
|
Ubuntu
Could not load dynamic library 'libcudnn.so.8'
Could not load dynamic library 'libcudnn.so.8'
916 0
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2