Pytorch install error 'ProtocolError('Connection aborted.', ConnectionResetError(10054

I am trying to install pytorch version 1.2.0 on Windows 10 and getting error : connection broken by 'ProtocolError(‘Connection aborted.’, ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host

I also tried with pip install torch==1.2.0
but getting another error:
ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.2.0


Do you use a 32bit python by any chance? Our windows binaries only support the 64bit python.

It seems that your connection to our download server is broken. Would you please retry a few times or switch from https to http? BTW, are you behind a proxy or sth?