title: python / pip - whl is not a supported wheel on this platform
body: <p>this is yet another variant of the 'xyz.whl is not a supported wheel on this platform' question, but i couldn't find anything that fit my situation in the questions that were already posted.</p>
  
  <p>specifically, the error i'm getting is</p>
  
  <pre><code>Defaulting to user installation because normal site-packages is not writeable
  ERROR: torch-1.4.0-cp27-cp27m-manylinux1_x86_64.whl is not a supported wheel on this platform.
  </code></pre>
  
  <p>however, this is definitely a python 2.7 platform and not python 3.  python -V gives <code>Python 2.7.5</code>.</p>
  
  <p>fwiw, this is a centos shared hosting machine ; <code>uname -opr</code> gives <code>3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 x86_64 GNU/Linux</code>.</p>
  
  <p>the one difference in my case to other cases i've found is i'm required to install from a local file. i downloaded the file from pypi and tried to install with <code>pip install ~/src/torch-1.4.0-cp27-cp27m-manylinux1_x86_64.whl</code>. the same is also true regarding <code>pip</code>, which isn't available on the machine ; i had to bootstrap pip using <code>get-pip.py</code> from <a href="https://pip.pypa.io/en/stable/installing" rel="nofollow noreferrer">here</a>. pip -V shows me the version is 20.0.2 (python 2.7).</p>
  
  <p>the environment has <code>PYTHONUSERBASE</code> set to the root of the local install, and pip is in <code>$PYTHONUSERBASE/bin</code>.</p>
  
  <p>i think this must be due to a problem with my configuration somewhere, but i don't know where. does anyone have any ideas ?</p>