Installation failed due to prerequisits no installing

When I tried to install Unreal Engine 4.18.0 I got a message saying the installation failed because of prerequisites not installing. How do I fix this?

I have the same issue and theres nothing on the internet that tells me how to solve this