I encountered this problem first.
>>> from setuptools import setup, Extension >>> from torch.utils import cpp_extension INFO: Could not find files for the given pattern(s).
And when I’m trying to use code here to compile a simple extension, I encountered this issue, which I suspect is related to the problem above. But I’m not sure what is it exactly.
UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
I googled this issue but didn’t find a satisfactory answer.