【问题标题】:ERROR: No matching distribution found for torch===1.7.0+cu110错误:未找到适用于 torch===1.7.0+cu110 的匹配分布
【发布时间】: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 位,现在它可以工作了。

标签: python pip pytorch


【解决方案1】:

torch的最新版本是1.7.0,所以

pip install torch

应该够了。

【讨论】:

  • 您好,这是否带有 cuda 支持?
  • 我对那个库一无所知。请咨询他们的PyPI page
猜你喜欢
  • 2022-11-06
  • 2021-02-14
  • 1970-01-01
  • 2020-06-13
  • 2021-03-13
  • 1970-01-01
  • 2020-09-02
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多