In order for snakes to poop, or heck for anything including us to poop, there needs to be three thing going on......appropriate intake of food to create a need to pass waste products, appropriate intake of liquids so that dehydration is not an issue, a healthy digestive tract doing it's job.
Is the snake dehydrated? How big is this snake weightwise? What size prey is it eating and how often (how many prey) over the past 8 weeks or so?