当前位置:   article > 正文

安装pytorch报错_error: could not find a version that satisfies the

error: could not find a version that satisfies the requirement torch (from v

(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版本即可 

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号