He'll eat when he's ready providing your husbandry is correct. You need to be sure that he's set up correctly and has no health issues.
......and even if your husbandry is correct and you have confirmation of his good health - he still may not eat for months at a time. There are plenty of threads on this forum documenting the various fasts that ball pythons go on.