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

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

解决方法:

升级numpy即可:

pip install -U numpy

猜你喜欢

转载自www.cnblogs.com/sggggr/p/11874826.html