The wheel is a ZIP archive with the .whl extension that should have a specially formatted file name and contain a relocatable Python package to be recognized on your platform.
Please use your web browser such as Firefox to obtain manylinux1 wheels directly from PyPI website:
torch-1.0.1.post2-cp27-cp27m-manylinux1_x86_64.whl (582.6 MB)
torch-1.0.1.post2-cp27-cp27mu-manylinux1_x86_64.whl (582.5 MB) <= try this one
Please make sure to choose one appropriate for your specific OS/platform. In your case, the mu-manylinux1
is the most likely choice. You could use this shell command to ensure:
$ python -c "import sys; print 'UCS4/UTF-32: mu-manylinux1' if sys.maxunicode > 65535 else 'UCS2/UTF-16: m-manylinux1'"
Python 3 version:
$ python3 -c "import sys; print('UCS4/UTF-32: mu-manylinux1' if sys.maxunicode > 65535 else 'UCS2/UTF-16: m-manylinux1')"
mu is more common and means that your Python stores Unicode data in UCS-4 (UTF-32) format.
cp27 stands for Python 2.7; likewise cp36 is for Python 3.6
x86_64 is for 64-bit platform. Pytorch doesn't support 32-bit..
All manylinux1 wheels require pip v8.1 or later to be pip install
'ed (you have v19.0.1 - ok).
Regarding the SSLError...sslv3 alert handshake failure
you've mentioned in the comment, it's caused by the fact that pip
doesn't use old SSL/TLS protocols to connect to PyPI since about a year ago, but your system's underlying OpenSSL library is outdated, and Python 2.7.6 ssl
module doesn't support the required TLS 1.2 protocol anyway. I will address this issue in your another posting.