简体   繁体   English

错误:找不到满足火炬要求的版本(来自版本:无)错误:找不到火炬的匹配分布

[英]ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

I tried to download torch by using pip install torch我尝试使用pip install torch

I faced this problem:我遇到了这个问题:

C:\Users\Ahmad Sadek>pip install torch
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

Try installing numpy first.尝试先安装 numpy。

pip install numpy

If this doesn't help, then try running your script in python environment running v3.8如果这没有帮助,请尝试在运行 v3.8 的 python 环境中运行您的脚本

You may use Anaconda individual edition for that.您可以为此使用 Anaconda 个人版。

It isn't officially supported by 3.10 yet. 3.10 还没有正式支持它。 Use the nightly builds:使用每晚构建:

pip3 install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html

This occurs if you are on a version of python greater than 3.7 on Windows.如果您使用的 python 版本大于 Windows 上的 3.7,则会发生这种情况。 PyTorch specifies on their website that versions later than 3.7 are not supported. PyTorch在其网站上指定不支持高于 3.7 的版本。 I had this error show up for me on my Windows machine when using 3.8.使用 3.8 时,我的 Windows 机器上出现了这个错误。 After installing 3.7 and setting that as the default python the issue resolved.安装 3.7 并将其设置为默认 python 后,问题已解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:找不到满足 mathplotlib 要求的版本(来自版本:无)错误:找不到 mathplotlib 的匹配分布 - ERROR: Could not find a version that satisfies the requirement mathplotlib (from versions: none) ERROR: No matching distribution found for mathplotlib 错误:找不到满足要求的版本 os(来自版本:无) 错误:找不到匹配的发行版 os - ERROR: Could not find a version that satisfies the requirement os (from versions: none) ERROR: No matching distribution found for os 错误:找不到满足 tensorflow 要求的版本(来自版本:无)错误:没有找到 tensorflow 的匹配分布) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow) 错误:无法从版本中找到满足 Django==1.10.5 要求的版本:无错误:未找到匹配的发行版 Django==1.10.5 - ERROR: Could not find a version that satisfies the requirement Django==1.10.5 from versions: none ERROR: No matching distribution found Django==1.10.5 错误:找不到满足要求 cv2 的版本(来自版本:无)错误:找不到 cv2 的匹配分发 - ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2 错误:找不到满足 chatbot_demo_rest 要求的版本(来自版本:无)错误:找不到匹配的分发版 - ERROR: Could not find a version that satisfies the requirement chatbot_demo_rest (from versions: none) ERROR: No matching distribution found for 错误:找不到满足熊猫要求的版本(来自版本:)找不到与熊猫匹配的发行版 - ERROR : Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas 如何修复“找不到满足安装要求的版本(来自版本:)找不到安装的匹配发行版”错误 - how to fix " Could not find a version that satisfies the requirement install (from versions: ) No matching distribution found for install " error 找不到满足 dblib 要求的版本(来自版本:无)并且没有找到 dblib 的匹配分布 - could not find a version that satisfies the requirement dblib (from versions: none) and No matching distribution found for dblib 错误:找不到匹配的发行版和错误:找不到满足要求的版本 - ERROR: No matching distribution found and ERROR: Could not find a version that satisfies the requirement
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM