I didn’t really. I tried uninstalling every single component until it worked. VS was the last component.
But I can guess that:



 ZimoNitrome:

C:\Users\<user>\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:287: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))



and



 ZimoNitrome:

CreateProcess failed: The system cannot find the file specified.



points towards torch not finding correct VS version.
Good luck.