没有针对火炬找到匹配分布== 1.5.0

发布于 2025-01-25 13:29:29 字数 764 浏览 2 评论 0原文

发生了此错误

ERROR: Could not find a version that satisfies the requirement torch==1.5.0 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for torch==1.5.0 

,然后我尝试通过命令解决该错误

pip install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html

,然后尝试再次执行命令。.

pip install -r C:\Bachelor\urban-sound-tagging-master\requirements.txt

发生相同的错误

ERROR: Could not find a version that satisfies the requirement torch==1.5.0 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for torch==1.5.0 

我该怎么办?

this error occurred

ERROR: Could not find a version that satisfies the requirement torch==1.5.0 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for torch==1.5.0 

then I tried to solve it by the command

pip install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html

and then I tried to execute the command again ..

pip install -r C:\Bachelor\urban-sound-tagging-master\requirements.txt

the same error occurred

ERROR: Could not find a version that satisfies the requirement torch==1.5.0 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2)
ERROR: No matching distribution found for torch==1.5.0 

what can I do ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忘年祭陌 2025-02-01 13:29:29

您可以从此链接中安装Pytorch先前版本

版本

先前

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=9.2 -c pytorch

pytorch 10.1

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.1 -c pytorch

CUDA 10.2

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.2 -c pytorch

CPU

conda install pytorch==1.5.0 torchvision==0.6.0 cpuonly -c pytorch

You can install PyTorch previous versions from this link PyTorch previous versions

Example:

CUDA 9.2

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=9.2 -c pytorch

CUDA 10.1

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.1 -c pytorch

CUDA 10.2

conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=10.2 -c pytorch

CPU Only

conda install pytorch==1.5.0 torchvision==0.6.0 cpuonly -c pytorch
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文