Hi there,
The reason Avast won’t install is that there are still remnants of Kasperky on your system.
“Google” Kaspersky Removal Tool and pick the appropriate one for your system and run it a couple of times that should
remove whatever was left on your system from the previous Anti Virus you had on your box.
Vern.