IrisRainbowNeko / genshin_auto_fish

基于深度强化学习的原神自动钓鱼AI
4.76k stars 725 forks source link

requirements.py出错,不支持cu116 #247

Closed Michael-Rin closed 2 years ago

Michael-Rin commented 2 years ago

显示最高支持到1.8.2+cu111,但是cuda版本是11.6 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. imageio 2.16.1 requires numpy>=1.20.0, but you have numpy 1.19.5 which is incompatible. Successfully installed numpy-1.19.5 Looking in links: https://download.pytorch.org/whl/lts/1.8/torch_lts.html ERROR: Could not find a version that satisfies the requirement torch==1.8.2+cu116 (from versions: 1.7.1, 1.8.0, 1.8.1, 1.8.1+cpu, 1.8.1+cu102, 1.8.1+cu111, 1.8.2+cpu, 1.8.2+cu101, 1.8.2+cu102, 1.8.2+cu111, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2) ERROR: No matching distribution found for torch==1.8.2+cu116

LittleMio commented 2 years ago

你可以安装1.10.2 pip3 install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio===0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html 这个是官网链接

Michael-Rin commented 2 years ago

在requirements.py里面修改torch的版本和源,我甚至装上了torch1.11.0+cu115、torchvision0.12.1+cu115