*Research has shown that cinnamon oil, clove oil, and eugenol are effective snake repellents. Snakes will retreat when sprayed directly with these oils and will exit cargo or other confined spaces when these oils are introduced to the area.
*In ancient times the Greek historian Herodotus noted that Arabian harvesters of frankincense used burning resin from Styrax trees to repel poisonous snakes that lived in the trees.
*Camphor
*Moth balls
*The roots and other parts of Acacia polyacantha subsp. campylacantha emit chemical compounds that repel animals including rats, snakes and crocodiles.  For snakes, roots are placed in the rafters of houses.