不降sklearn版本解决包引入问题: from sklearn.utils.linear_assignment_ import linear_assignment from scipy.optimize import linear_sum_assignment as linear_assignment 降低版本:pip install -i https://pypi.douban.com/simple scikit-learn==0.19.2