A heat pump drying or washing-drying machine, comprising: a cabinet; a fan assembly disposed in the cabinet, said fan assembly being provided with an adapting port for draining condensate water generated in a heat pump system of the heat pump drying or washing-drying machine; a draining duct disposed in the cabinet, having a first end connected with one side of the adapting port and a second end connected to a draining pump of the heat pump drying or washing-drying machine, so as to drain the condensate water out of the heat pump drying or washing-drying machine; and a base in which the heat pump system is integrated, the base being disposed on top of the cabinet, located above the fan assembly and provided with a water outlet, in which the water outlet is corresponding to the adapting port in terms of position, and configured to be connected with the other side of the adapting port and fit in a self-sealing way with the adapting port when the base is mounted on top of the cabinet, such that the draining duct is configured to be adapted to the water outlet via the adapting port without the need of uplifting the base, and the condensate water formed in the base can be drained out of the cabinet through the draining duct, wherein the adapting port comprises a first segment connected with the water outlet and a second segment connected with the draining duct, in which the first segment and the second segment are communicated with each other, and a radial dimension of the first segment is larger than a radial dimension of the second segment, wherein the water outlet is inserted in the first segment, wherein the heat pump drying or washing-drying machine further comprises a sealing gasket, the sealing gasket is disposed between the first segment and the water outlet and configured to seal a gap between the first segment and the water outlet, characterized in that the adapting port further comprises a transition segment, in which the transition segment extends perpendicularly to an axial direction of the first segment and an axial direction of the second segment, and the sealing gasket is disposed on the transition segment, in which the axial direction of the first segment is same with the axial direction of the second segment, and that the sealing gasket is configured to have a ring shape and a substantially L-shaped section, a long limb of the sealing gasket is located between the first segment and the water outlet, and a short limb of the sealing gasket is located on the transition segment. a cabinet; a fan assembly disposed in the cabinet, said fan assembly being provided with an adapting port for draining condensate water generated in a heat pump system of the heat pump drying or washing-drying machine; a draining duct disposed in the cabinet, having a first end connected with one side of the adapting port and a second end connected to a draining pump of the heat pump drying or washing-drying machine, so as to drain the condensate water out of the heat pump drying or washing-drying machine; and a base in which the heat pump system is integrated, the base being disposed on top of the cabinet, located above the fan assembly and provided with a water outlet, in which the water outlet is corresponding to the adapting port in terms of position, and configured to be connected with the other side of the adapting port and fit in a self-sealing way with the adapting port when the base is mounted on top of the cabinet, such that the draining duct is configured to be adapted to the water outlet via the adapting port without the need of uplifting the base, and the condensate water formed in the base can be drained out of the cabinet through the draining duct, wherein the adapting port comprises a first segment connected with the water outlet and a second segment connected with the draining duct, in which the first segment and the second segment are communicated with each other, and a radial dimension of the first segment is larger than a radial dimension of the second segment, wherein the water outlet is inserted in the first segment, wherein the heat pump drying or washing-drying machine further comprises a sealing gasket, the sealing gasket is disposed between the first segment and the water outlet and configured to seal a gap between the first segment and the water outlet, characterized in that the adapting port further comprises a transition segment, in which the transition segment extends perpendicularly to an axial direction of the first segment and an axial direction of the second segment, and the sealing gasket is disposed on the transition segment, in which the axial direction of the first segment is same with the axial direction of the second segment, and that the sealing gasket is configured to have a ring shape and a substantially L-shaped section, a long limb of the sealing gasket is located between the first segment and the water outlet, and a short limb of the sealing gasket is located on the transition segment.