Both pies are made with a similar mixture of spices and sweeteners, but sweet potato pie uses mashed sweet potatoes as its main ingredient, while pumpkin pie uses canned pumpkin puree. Sweet potato pie is also slightly sweeter and has a smoother, creamier texture.