背景
本来服务器上得conda环境想直接下载复制到ubuntux系统笔电上使用
加载后闪退
没有解决问题(不清楚具体什么原因,看了几个攻略到我这都不行)
只能重新配环境
没想到又碰到了pytorch conda默认安装为cpu版pytorch的问题
pip安装
结果
No matching distribution found for torch==1.9.0+cu110
又找不到要求版本
解决:
pip install torch==1.9.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
灵活一点,cu110改为cu111,
能装,能用,能跑
ok