Some assembly is needed.
The lights per-se are not the problem, the problem is that they went cheap on the power supply circuit. You need a rectifier in the power supply to stop the flicker.
So you will either build that yourself or replace the power supply to the lights with a better designed one.