fix your enclosure setup. one hide in the middle is no bueno. also, a heating lamp as the only source of heat probably isnt providing the temperature gradient or humidity your snake needs. read the caresheet sticky. once you get your enclosure more comfortable for your snake, he/she will probably be more at ease and want to eat.