You will have to give the snake some kind of present to make it leave.
It is probably very hungry.
Have you noticed the rodent in the jungle near the snake?
It will scare very easily.
If you crack your whip at it, it runs into the nearest path.