Several players and members of the Rockets’ coaching staff believe that Carmelo Anthony has played his final game for the franchise, sources told ESPN on Sunday.

Anthony has been away from the team for two games with what has been described as an “illness,” and he didn’t join the Rockets on their trip to Denver, sources said.

Anthony’s tenure with the Rockets is expected to end after he played in only 10 games, averaging 13.4 points and 5.4 rebounds while shooting 40.5 percent from the floor. He played primarily in a reserve role after starting every game in his previous 15 seasons. He ranks 19th in NBA history with 25,551 career points.

ESPN’s Adrian Wojnarowski reported during Houston’s loss to San Antonio on Saturday night that the Rockets and Anthony were in discussions about his role and how the franchise and veteran might be able to proceed together the rest of the season.

Those discussions happened in the wake of Anthony’s most recent game, a two-point performance on 1-of-11 shooting in a lopsided loss to Oklahoma City.

The Rockets signed Anthony to a one-year deal for the veterans minimum of $2.4 million after he received a buyout from the Atlanta Hawks. Houston hoped Anthony could help the Rockets, who came one win from the NBA Finals last season, contend for a championship again.

Anthony’s spot on the roster is likely to be filled by signing undrafted rookie Gary Clark, currently on a two-way contract, for the minimum. Clark has become a favorite of D’Antoni, earning the bulk of the minutes that were expected to go to Anthony.

Rockets star James Harden said he didn’t have enough information to comment about Anthony’s situation, while Chris Paul, who along with Harden helped recruit Anthony over the summer, praised his longtime friend but was vague about Anthony’s future with the Rockets.

Asked if he expected Anthony to help get the 5-7 Rockets going in the right direction, Paul said, “Man, Melo’s a future Hall of Famer, know what I mean? That’s me saying that and knowing that. Like I said, we’ll see what happens.”

Meantime, Twitter has gone ablaze on the subject, with Anthony’s good friend Dwyane Wade among those chiming in.

This is just bad. It never felt right from the get go.