Visual Studio not recognized by UE5 New Project Installer

I’m trying to create a new third person shooter project and start with C++. The problem is Visual Studio isn’t being recognized even after install.
See image of Visual Studio loading on top of project error message in red.