ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory

程序报错:
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory

解决方法

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

可能会出现

/sbin/ldconfig.real: /usr/local/cuda-10.1/targets/x86_64-linux/lib/libcudnn.so.7 不是符号连接

不用管

你可能感兴趣的:(Pycharm小错误)