2021-12-07 15:33:09 索煒達(dá)電子 9463
**解決ERROR:Could not find a version that satisfies the requirement torch==1.4.0
如果在安裝torchvision出現(xiàn)下圖的問(wèn)題可采取以下步驟進(jìn)行解決
1、第一步
輸入
pip install torch==1.3.1 -f https://download.pytorch.org/whl/torch_stable.html
成功后出現(xiàn):
然后進(jìn)行第二步
輸入
pip install torchvision==0.4.1
成功調(diào)用torch!