找不到满足torch == 1.3.1要求的版本 [英] Could not find a version that satisfies the requirement torch==1.3.1

查看:2148
本文介绍了找不到满足torch == 1.3.1要求的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我从他们的主页尝试了命令:

First of all i tried command from their main page, that they gave me:

pip3 install torch==1.3.1+cpu torchvision==0.4.2+cpu -f https://download.pytorch.org/whl/torch_stable.html

找不到满足torch == 1.3.1 + cpu要求的版本(来自版本:0.1.2、0.1.2.post1、0.1.2.post2) 错误:找不到与torch == 1.3.1.+ cpu

Could not find a version that satisfies the requirement torch==1.3.1+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.3.1.+cpu

此后,我决定从此列表中使用: https://download.pytorch.org/whl/cpu/stable

After this i decided to take available from this list: https://download.pytorch.org/whl/cpu/stable

所以最后我尝试了这样的事情

So at the end i tried something like this

pip3 install torch-1.1.0-cp37-cp37m-win_amd64.whl -f https://download.pytorch.org/whl/torch_stable.html

现在他们写道,我的平台不支持该滚轮. WTF? (我使用Windows 7,python64,有amd) (python的位置:C:\ Python38,pip C:\ Python38 \ Scripts的位置)

And now they write that this is not supported wheel on my platform. Wtf? ( I use windows 7, python64, have amd) ( location of python: C:\Python38, location of pip C:\Python38\Scripts )

推荐答案

我的平台上不支持的滚轮

not supported wheel on my platform

这是因为方向盘适用于Python 3.7.

This is because the wheel is for Python 3.7.

建议:降级到Python 3.7.

Advice: downgrade to Python 3.7.

这篇关于找不到满足torch == 1.3.1要求的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆