polycyclic carbamyl pyridone analogues of Baloxavir marboxil from the cyclization of chloroacetaldehyde with o-aminoamide derivatives. In this method, without any other catalysts or additives, the polycyclic carbamoyl pyridone analogues can be obtained by ring closure of o-aminoamide derivatives and chloroacetaldehyde under the action of a base, and no harsh reaction conditions are required. The method