【发布时间】:2020-11-30 11:37:32
【问题描述】:
您好,我在尝试安装 pytorch 时遇到错误:
PS C:\windows\system32> pip install torch===1.7.0+cu110 torchvision===0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch===1.7.0+cu110 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch===1.7.0+cu110
我见过this question,我用的是python 3.8.6
PS C:\windows\system32> py --version
Python 3.8.6
【问题讨论】:
-
试试python 3.7。
-
@B200011011,嗨对不起,我的错,我安装了 32 位 python 而不是 64 位,现在它可以工作了。