diff --git a/tools/check_python_deps.py b/tools/check_python_deps.py index 6f95122a66..37ddaaa21f 100644 --- a/tools/check_python_deps.py +++ b/tools/check_python_deps.py @@ -142,5 +142,5 @@ if __name__ == "__main__": # not compatible. from ortools.constraint_solver import _pywrapcp # pylint: disable=g-import-not-at-top,unused-import from ortools.linear_solver import _pywraplp # pylint: disable=g-import-not-at-top,unused-import - from ortools.algorithms import _pywrapknapsack_solver # pylint: disable=g-import-not-at-top,unused-import + from ortools.algorithms.python import knapsack_solver # pylint: disable=g-import-not-at-top,unused-import from ortools.graph import _pywrapgraph # pylint: disable=g-import-not-at-top,unused-import