广告不存在

解决ERROR:Could not find a version that satisfies the requirement torch==1.4.0

2021-12-07 15:33:09      索炜达电子      8240     

**解决ERROR:Could not find a version that satisfies the requirement torch==1.4.0

如果在安装torchvision出现下图的问题可采取以下步骤进行解决

解决ERROR:Could not find a version that satisfies the requirement torch==1.4.0

1、第一步

输入

pip install torch==1.3.1 -f https://download.pytorch.org/whl/torch_stable.html

成功后出现:

解决ERROR:Could not find a version that satisfies the requirement torch==1.4.0

然后进行第二步

输入

pip install torchvision==0.4.1

解决ERROR:Could not find a version that satisfies the requirement torch==1.4.0

成功调用torch!


TAGtorch
广告不存在