matplotlib模块,出现的 DLL load failed while importing _cext: 找不到指定的模块问题。
matplotlib模块找不到的一种解决思路
·
一、问题描述:
在windows系统的vscode 中,通过pip安装了matplotlib模块,导入文件出现了 DLL load failed while importing _cext: 找不到指定的模块,网络上有多种方法,通过尝试下面这种解决了我的问题,于是推荐给大家。对各位出现同类问题的朋友不一定都有效。
二、可能的一种解决方案:
安装 Microsoft Visual C++ Redistributable 这个东东。
三、具体安装步骤
1.地址链接如下
Latest supported Visual C++ Redistributable downloads | Microsoft Learn
https://learn.microsoft.com/da-dk/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version 2.找到 Latest Microsoft Visual C++ Redistributable Version这一栏,选择系统位数,我的系统是64位的,所以选择了x64,各位根据自己的系统来进行选择。
3.下载完成后直接安装,然后再打开代码就OK了。
更多推荐




所有评论(0)