Cannot install torch-1.6.0 cuda102 by `pip install torch`

I upgrade my cuda version to 10.2 and I try to using pip to install torch==1.6.0. According to official command

CUDA 10.2

pip install torch==1.6.0 torchvision==0.7.0

It cannot work, and the error is

pip install torch==1.6.0 torchvision==0.7.0
ERROR: Could not find a version that satisfies the requirement torch==1.6.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.6.0

Enviroment

  • windows 10.0
  • python 3.6.2 64bit
  • Cuda compilation tools, release 10.2, V10.2.89

Right now I install a torch+1.6.0+cu101 version by using pip install torch==1.6.0 tochvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html

It worked whatever although my cuda is actually 10.2

really digging in hereā€¦