Walnuts are the best substitute for pecans in sweet potato casserole. They'll provide the same texture as pecans, and a similar flavor. For a nut-free version, simply leave them out. Your streusel topping won't be quite as crunchy, but it'll still be delicious.