注意这里不是在安装pytorch!!!
参考这个 https://github.com/hiili/WindowsTorch
这是个神人啊,把相关包和路径都打包好了,保证你windows命令行可以用git就行:
1. 打开windows cmd窗口输入
> git clone https://github.com/hiili/WindowsTorch.gits C:\torch
如果你不想安装在C盘,下面有更改的地方
2. > cd C:\torch
> setpaths.cmd
如果你不想安装在C盘,那就文本编辑上面这个cmd文件,把C盘换成你的盘
3. 确保你上面cmd文件的路径都正确
>lunjit
Torch安装成功: