pip --default-timeout=1000 install --index-url https://mirrors.aliyun.com/pypi/simple torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

或者使用清华镜像源:

pip --default-timeout=1000 install --index-url https://pypi.tuna.tsinghua.edu.cn/simple torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

解决pip安装pytorch缓慢问题(直接使用命令)

也可以去官网选择不同版本的:

https://pytorch.org/ 

解决pip安装pytorch缓慢问题(直接使用命令)

 

相关文章:

  • 2021-06-07
  • 2022-12-23
  • 2022-01-03
  • 2021-12-26
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-04
  • 2021-10-07
  • 2022-12-23
  • 2021-11-04
  • 2021-08-06
相关资源
相似解决方案