I also had this problem, so after installing C ++ 2017, I uninstalled 1 of them, because in the list there were 2 '' c ++ 2017 or 2015 '', I'll send you a print of my screen, so you know which c ++ 2017 to uninstall!
after that and install c ++ 2015 and 2017.
unistall c++ 2015 (x86), and retry.