“wheel not supported” for pip install

eulerreich: 

rasbt: 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?

Nadav_Bhonker: 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.

smth: We dont support 32-bit platforms. can you tell me what the output of: <SCODE>uname -a
lsb_release -a
<ECODE>

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

tomsercu: I get the same error with the same wheel, on a rhel6 system (ugh). I’m working in a virtualenv without root. <SCODE>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<ECODE>

Kalamaya: Output of uname -a Output of lsb_release -a

smth: 

tomsercu: <SCODE>$ 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.<ECODE>

Kalamaya: 

smth: 

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

eulerreich: That fixed it for me.

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

smth: 

Paarulakan: I am facing the same problem on ubuntu. Help me please

smth: 

acgtyrant: 

acgtyrant: 

smth: