- Install msys2
- Open msys2 shell by executing the command
msys2_shell.cmd -msysgit clone https://github.com/smalltalkman/mingw-w64-python-pytorch.git
cd mingw-w64-python-pytorch - ming64:
./utils/build.sh -64 - ming32:
./utils/build.sh -32
msys2_shell.cmd -msys
git clone https://github.com/smalltalkman/mingw-w64-python-pytorch.git
cd mingw-w64-python-pytorch
./utils/build.sh -64
./utils/build.sh -32