from sklearn.utils.linear_assignment_ import linear_assignment install code example Example: No module named 'sklearn.utils.linear_assignment pip install scikit-learn==0.22.2