尝试导入sklearn模块时DLL加载失败

时间:2019-06-25 01:28:26

标签: dll import scikit-learn

我正在尝试导入scikit-learn模块

from sklearn.model_selection import train_test_split

并收到错误消息

File "C:\Software\Anaconda\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 45, in <module>
    from . import _arpack

ImportError: DLL load failed: The specified procedure could not be found.

我不是第一个遇到此问题的人

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

但讨论中没有建议使用任何补救措施

  1. 卸载/重新安装scipy
  2. 修改fixes.py文件

解决了我的问题。任何新想法将不胜感激。

0 个答案:

没有答案
相关问题