使用sklearn模块仍然出错。 ImportError:DLL加载失败:找不到指定的模块

时间:2020-01-01 18:04:52

标签: python scikit-learn

在我的项目中使用“ sklearn”模块(KMeans集群)时出现问题。我尝试了以下解决方案,但这些解决方案没有帮助:

  1. Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

  2. sklearn: ImportError: DLL load failed: The specified module could not be found

给出的所有建议(1)和(2)已经实施。

我的操作系统:Windows 7

Python:3.7.3

请提供其他解决方案,谢谢!

错误是这样的:

回溯(最近通话最近一次):

文件“ C:/用户/用户名/myAppCluster/scripts.py”,第12行,在 从sklearn导入数据集中

文件“ C:\ Users \用户名\ myAppCluster \ venv \ lib \ site-packages \ sklearn__init __。py”,第75行,在 从.utils._show_versions导入show_versions

第12行中的文件“ C:\ Users \用户名\ myAppCluster \ venv \ lib \ site-packages \ sklearn \ utils_show_versions.py” 从._openmp_helpers导入_openmp_parallelism_enabled

ImportError:DLL加载失败:找不到指定的模块

0 个答案:

没有答案