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