This is not a PyTorch issue (it’s actually not really a pip issue either as much as a Python standard library issue). If you are able to, the easiest solution is to update Python to a higher version in the 2.7 sequence (I believe this error means you have <2.7.9). If you’re not able to do that, there may be a way to update just the broken ssl module.