进入官网,选择对应版本 https://pytorch.org/get-started/previous-versions/ 安装 conda install pytorch==1.5.1 torchvision==0.6.1 cudatoolkit=10.1 -c pytorch