Ancelotti admits Di Maria has turned down a new contract offer and is determined to leave.
He said: "Di Maria asked to go in the summer and has rejected an offer from the club. The player has to look for a solution.
"If when the transfer market closes he's still here, he will work with us like last season and there will be no problem."
For the big stories and the banter follow us on Twitter: @tribalfootball