python import sklearn包问题
2018-02-10 本文已影响0人
绍重先
查看包版本
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.version)
import scipy; print("SciPy", scipy.version)
import sklearn; print("Scikit-Learn", sklearn.version)
https://stackoverflow.com/questions/15274696/importerror-in-importing-from-sklearn-cannot-import-name-check-build
https://github.com/scikit-learn/scikit-learn/issues/8754#event-1050079157
以此更新numpy、scipy
pip install -U --user numpy
pip install -U --user scipy