Finally have fuel from pump. Won't start after I turn off

pumped the gas pedal a few times after it's warm. It starts then dies right away, spray carb cleaner in the carb and it starts right up. Also tried keeping the gas pedal to the floor while cranking, but it will not start. This must be a carburetor issue?