I meet the following error:
File"/home/projects/wy/pytorch/tools/shared/cwrap_common.py", line 1
SyntaxError: invalid syntax
What should I do? (the number of dot is two, no idea why it displays three here)
The reason is that I downloaded the source code using git on windows.
I don’t think pytorch officially supports windows. I would recommend building on Linux or Mac.
Yes. The error is because I try to build on Linux using source code downloaded by a git tool on Windows (the code is somehow modified during the process). The problem is solved, thank you.