ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

错误

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions.  Include the entire stack trace

运行tensorflow时出现如下错误:

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory_第1张图片
发现是CUDA与tensorflow版本不匹配的问题
参考以下博文解决:
https://blog.csdn.net/ksws0292756/article/details/80034086

需要的CUDA为9.0,然而机器上的为10.2,查看tensorflow-gpu与CUDA对应版本:https://blog.csdn.net/qq_27825451/article/details/89082978

# 重新下载tensorflow-gpu
pip install tensorflow-gpu==2.0

你可能感兴趣的:(故障处理,tensorflow,报错,libcublas)