1.问题:

安装torch产生

2.解决办法:

使用pip debug --verbose查看 对应的torch版本号

Compatible tags字样,这些就是当前Python版本可以适配的标签。例如,我的Python版本是3.11,可以匹配下面这些文件名:

从对应网站下载:https://download.pytorch.org/whl/lts/1.8/torch_lts.html

引用:pytorch+cuda11.1安装问题及解决(pycharm)_error: torch-1.8.1+cpu-cp38-cp38-win_amd64.whl is -CSDN博客 whl is not a supported wheel on this platform.解决办法-CSDN博客

 

 

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐