使用tensorflow跑的时候报了ImportError: DLL load failed的错误,原因有很多,往上看是一个 from google.protobuf.pyext import _message的错误,应该是protobuf版本的问题,
在自动安装了tensorflow时, protobuf安装的是最新版本3.6.1, 出现了不兼容的问题。
更换为 protobuf 3.6.0即可(pip install protobuf==3.6.0)
使用tensorflow跑的时候报了ImportError: DLL load failed的错误,原因有很多,往上看是一个 from google.protobuf.pyext import _message的错误,应该是protobuf版本的问题,
在自动安装了tensorflow时, protobuf安装的是最新版本3.6.1, 出现了不兼容的问题。
更换为 protobuf 3.6.0即可(pip install protobuf==3.6.0)