From my understanding, the issue is generally caused when you install Microsoft Visual Studio 2015 in “Typical” setup option which will not install the Visual c/c++ compilers by default. This is seen in Microsoft's documentation:
To resolve this issue, re-run the Visual Studio 2015 installer with ‘Custom’ setup option and enable the ‘Visual C++’ under ‘Programming Languages’.