The pywrapgraph
is deprecated and has been removed from recent versions of OR-Tools.
Now to import the new modules you have to use
from ortools.graph.python import min_cost_flow
from ortools.graph.python import max_flow
from ortools.graph.python import linear_sum_assignment