TensorFlow学习日记——安装TensorFlow

安装TensorFlow过程中的问题:

原本在3.7环境内安装了TensorFlow2.6.2,TensorFlow仍标红,后降为1.9.0版本,但运行时报错:

ImportError: DLL load failed: 找不到指定的模块。

Failed to load the native TensorFlow runtime.

试了很多方法都没效,最后查到可能是Python版本问题,搭建Python3.6.5的虚拟环境后仍无法安装TensorFlow,报错如下:

protobuf requires Python ‘>=3.7’ but the running Python is 3.6.5

解决方式
先安装相应版本的protobuf包,再安装TensorFlow

你可能感兴趣的:(深度学习,tensorflow,python,深度学习)