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

在安装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

也可到网盘下载

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

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


参考文献:

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

posted @ 2020-12-14 17:40  Bill_H  阅读(841)  评论(0编辑  收藏  举报