ImportError: Could not find the DLL(s) 'msvcp140_1.dll'.
程序员文章站
2022-06-11 09:38:45
...
0x01 问题描述
今天安装Tensorflow,安装完成后,利用如下代码进行测试,
import tensorflow
报出一下错误:ImportError: Could not find the DLL(s) 'msvcp140_1.dll'.
0x02 解决方案
*查到一个日本小哥的解决方法,
msvcp140_1.dll文件包含在Visual Studio 2015、2017 和2019的Microsoft Visual C ++可再发行组件包中。
这可以通过从Microsoft官方页面安装软件包来解决。您可以从下面的链接下载软件包安装程序。
-
下载
下载地址
提取码:ge6n
我放的这个是64位的,如果想下载其他版本的,访问官网:
推荐阅读
-
ImportError: Could not find ‘cudart64_100.dll‘
-
ImportError: Could not find the DLL(s) 'msvcp140_1.dll'.
-
centos-DBA: Could not find necessary header file(s).
-
configure: error: DBA: Could not find necessary header file(s).
-
centos-DBA: Could not find necessary header file(s).
-
configure: error: DBA: Could not find necessary header file(s).
-
Could not find ‘ffi‘ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) Checked in ‘GEM_PATH=