ImportError: Could not find 'msvcp140.dll'. TensorFlow requires that this DLL be installed in a解决方法
问题描述
电脑同时安装了TensorFlow的CPU和GPU版本,于是出现了上述问题。
通用方法
缺少了Windows相关的组件,从https://www.microsoft.com/en-us/download/details.aspx?id=48145下载安装对应的版本即可
自己方法-降低TensorFlow版本
但是我自己安装后重启电脑还是不行,于是重装了TensorFlow的CPU,并降低版本,从2.1.0降至1.15.0(估计直接重装也可)
希望对大家有所帮助!
参考
https://yunyaniu.blog.csdn.net/article/details/90181684