I found that this problem occurs because the SharePoint Setup and Project Server Setup programs do not recognize the .NET Framework 4.6, 4.6.1, or 4.6.2 as a supported version of the .NET Framework.
Microsoft released Hotfix for this issue. Kindly check below URL for the provided resolution .
OR you can also refer below blog
Hope it helps!!