"wheel not supported" for pip install

eulerreich: <p>I’m Ubuntu 14.04, with the latest version of pip, with no CUDA, so I did<br>
<code>pip install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl</code><br>
which gave the error<br>
<code>torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.</code></p>

rasbt: <p>Not sure if that’s a problem in your case, but I had a similar issue (or a similar message) when I accidentally tried to install a package into a wrong environment (a py 3.5 wheel into a 3.6 env). Have you checked that your instance has Python 2.7 in your env and that the default pip is the pip of that python install?</p>

Nadav_Bhonker: <p>I’m encountering the same issue on Ubuntu 14.04, python 2.7.13.<br>
<code>pip install https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl -v</code></p>
<p><code>torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform. Exception information: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 257, in run InstallRequirement.from_line(name, None)) File "/usr/lib/python2.7/dist-packages/pip/req.py", line 168, in from_line raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename) UnsupportedWheel: torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.</code></p>

smth: <p><span class="mention">@Nadav</span>, are you on UBUNTU 32-bit? Are you on an ARM processor?</p>
<p>We dont support 32-bit platforms.</p>
<p>can you tell me what the output of:</p>
<pre><code class="lang-auto">uname -a
lsb_release -a
</code></pre>

eulerreich: <p>Yes I have Python 2.7, and the pip is the pip for that python.</p>

tomsercu: <p>I get the same error with the same wheel, on a rhel6 system (ugh). I’m working in a virtualenv without root.</p>
<pre><code>pip install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl
  torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
  Storing debug log for failure in /u/tsercu/.pip/pip.log
pip --version
  pip 1.5.6 from /opt/share/Python-2.7.9/lib/python2.7/site-packages (python 2.7)
lsb_release -a
  LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
  Distributor ID: RedHatEnterpriseServer
  Description:    Red Hat Enterprise Linux Server release 6.6 (Santiago)
  Release:        6.6
  Codename:       Santiago</code></pre>

Kalamaya: <p>I am getting the <a href="https://discuss.pytorch.org/t/cannot-install-via-pip-on-linux/153">same error</a></p>
<p>Output of uname -a</p>
<blockquote>
<p>Linux billy.local 3.13.0-66-generic <span class="hashtag-raw">#108-Ubuntu</span> SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p>
</blockquote>
<p>Output of lsb_release -a</p>
<blockquote>
<p>No LSB modules are available.<br>
Distributor ID:    Ubuntu<br>
Description:    Ubuntu 14.04.4 LTS<br>
Release:    14.04<br>
Codename:    trusty</p>
</blockquote>

smth: <p>Tom, if you are using RHEL6, I HIGHLY recommend Anaconda.<br>
Tom, can you post this file somewhere:  &gt; Storing debug log for failure in /u/tsercu/.pip/pip.log</p>
<p>I will rebuild the pip wheels with <a href="https://github.com/pypa/manylinux">manylinux</a> this week so that it works on ALL machines.</p>

tomsercu: <p>pip.log has no extra info, content  pasted below.<br>
Just built from source which is looking good. Will check out anaconda in the future for better install.</p>
<pre><code>$ cat ~/.pip/pip.log
torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
  File "/opt/share/Python-2.7.9/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/opt/share/Python-2.7.9/lib/python2.7/site-packages/pip/commands/install.py", line 257, in run
    InstallRequirement.from_line(name, None))
  File "/opt/share/Python-2.7.9/lib/python2.7/site-packages/pip/req.py", line 167, in from_line
    raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
UnsupportedWheel: torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.</code></pre>

Kalamaya: <p><a class="mention" href="/u/smth">@smth</a> do you expect the new build to also solve my errors? Thanks!</p>

smth: <p><a class="mention" href="/u/kalamaya">@Kalamaya</a> yes. I expect the new wheel to solve your errors as well. Working on it now.</p>

smth: <p>Hi everyone.</p>
<p>This should be fixed now for all of you.</p>
<p>The new command is available on the website, but pasting here for convenience:</p>
<pre><code class="lang-bash">pip install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.6.post22-cp27-none-linux_x86_64.whl 
pip install torchvision
</code></pre>

eulerreich: <p>That fixed it for me.</p>

Kalamaya: <p>Will this enable me to use CUDA ? My driver is 8.0 on LINUX…</p>

smth: <p><a class="mention" href="/u/kalamaya">@kalamaya</a> yes it does</p>

Paarulakan: <p>I am facing the same problem on ubuntu.</p>
<p>$ uname -a<br>
Linux koparakesari 3.19.0-65-generic #73~14.04.1-Ubuntu SMP Wed Jun 29 21:05:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</p>
<p>$ sudo pip install torch-0.1.9.post2-cp35-cp35m-linux_x86_64.whl<br>
torch-0.1.9.post2-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.</p>
<p>Help me please</p>

smth: <p><a class="mention" href="/u/paarulakan">@paarulakan</a> you dont seem to have a python 3.5 based install. To figure out your python version, run this command:<br>
<code>pip --version</code><br>
<code>python --version</code></p>

acgtyrant: <p><a class="mention" href="/u/smth">@smth</a> Hi, I use Python 3.6, so what is the alternative of <code>https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.6.post22-cp27-cp27mu-linux_x86_64.whl</code>? Thank you!</p>

acgtyrant: <p>I Google it by myself again, and I find it maybe: <code>https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.8.post1-cp36-cp36m-linux_x86_64.whl</code>.</p>

smth: <p>our website has a chooser for your wheels. choose your appropriate options and the correct link is given:<br>
<a href="http://pytorch.org/" class="onebox" target="_blank">http://pytorch.org/</a></p>