【转】出现“ValueError : numpy.ufunc has the wrong size, try recompiling" 解决方法

出现这个问题的原因是:numpy版本和scikit-learn版本不搭配。

解决方法:

升级numpy即可:

pip install -U numpy
posted @ 2019-11-17 00:14  sgggr  阅读(2153)  评论(0编辑  收藏  举报