Failed to load the native TensorFlow runtime.Linux下解决方法Tensorflow GPU版本

本人的系统背景:学校服务器GPU K40、ubuntu系统、装好anaconda3、装好cuda9.0及cudnn,已经下载好了tensorflow_gpu-1.5.0rc1-cp36-cp36m-linux_x86_64.whl

同时可以先将系统下载源改为清华镜像源,下载速度快很多,参考我的博客:https://blog.csdn.net/libertyhhn/article/details/82219408

直接下载了Tensorflow装

pip install tensorflow_gpu-1.5.0rc1-cp36-cp36m-linux_x86_64.whl

但是用python3输入时出现错误

Failed to load the native TensorFlow runtime.

查了原因,有可能是服务器的系统太老,用了几行代码解决,先升级conda

conda upgrade --all

然后再

conda install tensorflow

OK搞掂

猜你喜欢

转载自blog.csdn.net/libertyhhn/article/details/82219336