For me this is working.
Open CMD and write - conda create -n somename python = 3.8
Then - activate somename
Then - copy command from this page Start Locally | PyTorch 71
Then push that command into CMD.
EDIT:
If you dont know your cuda version, then push this command to CMD -
nvcc --version