最近我一直试图进入机器学习,AI,ect和我跟随的教程告诉我从sklearn导入linear_model我以前导入的内容如下:
from sklearn import linear_models
如果我单独运行此代码,我会收到错误:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from sklearn import linear_model
File "C:\Users\Leo\AppData\Local\Programs\Python\Python36-32\lib\site-packages\sklearn\linear_model\__init__.py", line 15, in <module>
from .least_angle import (Lars, LassoLars, lars_path, LarsCV, LassoLarsCV,
File "C:\Users\Leo\AppData\Local\Programs\Python\Python36-32\lib\site-packages\sklearn\linear_model\least_angle.py", line 23, in <module>
from ..utils import arrayfuncs, as_float_array, check_X_y, deprecated
ImportError: DLL load failed: The specified module could not be found.