在安装tensorflow2.3.0后,执行命令 import tensorlow as tf,出现如下报错

Could not find the DLL(s)'msvcp140_1.dll

解决方案:

到网站 https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads 下载 vc_redist.x64.exe

导入tensorflow2.3.0报错:Could not find the DLL(s) 'msvcp140_1.dll'

也可到网盘下载

链接:https://pan.baidu.com/s/1EvWhBco1fzhvbOJUOEinEg
提取码:pzvq

安装该文件,重启系统,问题解决。

参考文献:

ImportError: Could not find the DLL(s) 'msvcp140_1.dll'. 跑tensorflow时报错