解决 ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory

查看CUDA版本正确的情况下,只需下面一条命令即可解决

sudo ldconfig /usr/local/cuda-10.0/lib64

你可能感兴趣的:(cuda,pytorch)