使用pip安装PyTorch时报如下错误:
ERROR: Could not find a version that satisfies the requirement torch>=1.6.0
直接改成运行
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
即可

在尝试使用pip安装PyTorch时遇到版本不匹配的问题,解决方案是通过指定版本和CUDA版本手动安装。运行命令`pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html`可以成功安装。
使用pip安装PyTorch时报如下错误:
ERROR: Could not find a version that satisfies the requirement torch>=1.6.0
直接改成运行
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
即可

3万+
12万+
4万+
6171
2万+
7220
2万+

被折叠的 条评论
为什么被折叠?