安装pytorch报错

(py37) D:\0MyWork\python\pytorch\fasterRcnn>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Looking in indexes: https://download.pytorch.org/whl/cu118
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
WARNING: There was an error checking the latest version of pip.

原因:当前python=3.7.0版本过低

解决方法:python修改为3.8.0版本即可 

你可能感兴趣的:(python,pytorch,深度学习)