Rashi on Daniel
the necromancers These are the ones who inquire of טִימֵי מֵתִים, the bones of the dead, as you say, “May his bones be crushed,” שְּׁחִיק טַמַיָא.
Rashi on Daniel
the astrologers These are the ones who “press” the constellation. So it is explained in Tanhuma (Miketz 2, Buber, Miketz 4).