For some reason I need to install pytorch offline.
First, I download the "http://download.pytorch.org/whl/cu80/torch-0.3.1-cp27-cp27mu-linux_x86_64.whl ", then I execute the command “sudo pip install torch-0.3.1-cp27-cp27mu-linux_x86_64.whl” ,it occurs the error “Badzipfile :File is not a zip file”, and I tried download the package again, but the error still exist.
But it is ok for me to install pytorch-0.3.0 as the same way.
Why don’t you use directly pip install http://download.pytorch.org/whl/cu80/torch-0.3.1-cp27-cp27mu-linux_x86_64.whl as instructed in the website? Also possibly, your download failed.