1、网址:https://download.pytorch.org/whl/torch/,下载torch-1.12.1+cu113-cp310-cp310-win_amd64.whl
2、修改whl文件名为:torch-1.12.1+cu113-cp311-cp311-win_amd64.whl
3、打开Windows PowerShell,定位到whl下载目录执行命令:pip3 install torch-1.12.1+cu113-cp311-cp311-win_amd64.whl
4、安装成功