Canned pumpkin is a good substitute if you can’t find fresh pumpkin/squash. It is cooked and mashed squash/pumpkin, so it will work.