[英]Unable to import linear regression from sklearn module
I am trying to import linear regression library from sklearn module using the syntax below with Jupyter notebook:我正在尝试使用 Jupyter 笔记本使用以下语法从 sklearn 模块导入线性回归库:
from sklearn.linear_model import LinearRegression
But I am getting the error below:但我收到以下错误:
ModuleNotFoundError: No module named 'scipy.linalg._matfuncs_sqrtm_triu'
I have successfully installed the scikit-learn library several times but issue still persist.我已经多次成功安装了 scikit-learn 库,但问题仍然存在。
Questions:问题:
PS: not able to comment on the question directly, so have written the questions here PS:无法直接评论问题,所以把问题写在这里
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.