Dear student,
Charging by friction happens best in dry weather.
This is because in dry weather, the moisture level is very low.
Air is an insulator, but due to the presence of moisture, it becomes conductor, which makes static charge to flow through the air and makes the object electrically neutral. So, charging by friction happens best in dry weather.
Regards