Python Can';t使用pip在linux机箱上安装torch

Python Can';t使用pip在linux机箱上安装torch,python,pip,pytorch,torch,Python,Pip,Pytorch,Torch,正如标题所述,我正在尝试使用pip在linux上安装torch。 我运行命令pip install torch==0.3.1 我得到以下输出: Collecting torch==0.3.1 Could not find a version that satisfies the requirement torch==0.3.1 (from versions: 0.1.2, 0.1.2.post1) No matching distribution found for torch==0.3.1

正如标题所述,我正在尝试使用pip在linux上安装torch。 我运行命令
pip install torch==0.3.1

我得到以下输出:

Collecting torch==0.3.1
  Could not find a version that satisfies the requirement torch==0.3.1 (from versions: 0.1.2, 0.1.2.post1)
No matching distribution found for torch==0.3.1
你知道问题是什么吗

试着这样做:

 sudo apt-get update
那么


尝试使用更新pip本身

pip install --upgrade pip
那么


这是在aws盒上运行的,它没有“apt-get”。我应该使用什么命令来代替?
pip install --upgrade pip
pip install torch==0.3.1