成功安装torch1.4.0旧版本+cuda10.1
直接上命令!!!
pip命令 下载 torch1.4.0+cu92 版本
pip install torch1.4.0+cu92 torchvision0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
借用pytorch官网下载旧版本;
其他torch低版本下载目录表
注:可以专门输入错误版本 终端会给出当前下载方法中可以成功下载的版本 供选择
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch1.4.0+gpu (from versions: 1.4.0, 1.4.0+cpu, 1.4.0+cu92, 1.5.0, 1.5.0+cpu, 1.5.0+cu101, 1.5.0+cu92, 1.5.1, 1.5.1+cpu, 1.5.1+cu101, 1.5.1+cu92, 1.6.0, 1.6.0+cpu, 1.
6.0+cu101, 1.7.0, 1.7.0+cpu, 1.7.0+cu101, 1.7.0+cu110, 1.7.1, 1.7.1+cpu, 1.7.1