from sklearn.datasets import load_boston报错ImportError: DLL load failed: 找不到指定的程序

解决方案

  1. 将原来的scikit-learn和scipy两个模块进行卸载重装
pip uninstall scikit-learn
pip uninstall scipy
pip install scikit-learn
pip install scipy
  1. 如果你是用jupyter notebook打开的话,需要在cmd命令中关闭jupyter notebook重新打开

猜你喜欢

转载自blog.csdn.net/IT_SoftEngineer/article/details/107357782