I’m not sure about this particular error, but why are you trying to install PyTorch 0.3.0, which is quite old by now.
Have a look here 46 for install instructions for the latest stable release (1.2.0).