"wheel not supported" for pip install

pip install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.6.post22-cp27-none-linux_x86_64.whl
pip install torchvision

Please, add this solution of pip to the main page of pytorch

@Adel_Saleh you are using an old version. for latest instructions / versions, go to our website.

Yes @smth problem solved

I am still having the same issue I am using python3.5 in a virtual environment with pip 1.5.4 and I selected the cuda none option on the website.
I am guessing that the .whl for cpu is directing to the wrong link.
pip install http://download.pytorch.org/whl/cu75/torch-0.1.11.post5-cp35-cp35m-linux_x86_64.whl
Since it has cu75 in it.
Could you tell me how can I fix this?

I also got this:

$pip3 install http://download.pytorch.org/whl/cu80/torch-0.1.11.post5-cp35-cp35m-linux_x86_64.whl --user
torch-0.1.11.post5-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.

$pip --version
pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)

$python3
Python 3.6.0a1 (default, May 19 2017, 14:17:36)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

quit()

$uname -a
Linux e27k01378.su18 3.10.0-327.ali2000.alios7.x86_64 #1 SMP Tue Dec 29 19:54:05 CST 2015 x86_64 x86_64 x86_64 GNU/Linux

$lsb-release
-bash: lsb-release: command not found

$cat /etc/issue
**** Group Enterprise Linux Server release 7.2 (***) —note: some kind redhat
Kernel \r on an \m

You’re using Python 3.6 but trying to install a 3.5 version (see the cp35 in the URL). Use http://download.pytorch.org/whl/cu80/torch-0.1.12.post2-cp36-cp36m-linux_x86_64.whl instead.

sure, it works ,but

$python3 scripts/run_model.py --program_generator models/CLEVR/program_generator_18k.pt --execution_engine models/CLEVR/execution_engine_18k.pt --image img/CLEVR_val_000013.png --question "Does the small sphere have the same color as the cube left of the gray cube?"
Traceback (most recent call last):
File “scripts/run_model.py”, line 14, in
import torch
File “/home/yike.yk/.local/lib/python3.6/site-packages/torch/init.py”, line 53, in
from torch._C import *
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

$pip3 list --user
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
h5py (2.7.0)
olefile (0.44)
Pillow (4.1.1)
PyYAML (3.12)
torch (0.1.12.post2)
torchvision (0.1.8)
virtualenv (15.1.0)

There’s something up with your python install or paths, hard to know exactly what. Try using conda instead, make sure libpython3.6m.so.1.0 is in your LD_LIBRARY_PATH, check out https://github.com/pytorch/pytorch/issues/997 and https://stackoverflow.com/questions/37732748/, try googling around.

yes, I googled the above info
but, I cannot reinstall the python3 since it is a public machine I am not the admin

I believe you can install Anaconda without root. Could you try doing that and using a 3.6 conda environment?

Hi,when the manylinux wheel will be available. Looking forward to it.

I am getting same error for this Linux env:

uname -a
Linux mk7i-agarwalv 3.9.2-43ali #1 SMP PREEMPT Mon Jan 1 00:00:00 UTC 2007 i686 i686 i386 GNU/Linux

lsb_release -a
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 10.2 (i586)
Release: 10.2
Codename: n/a

HELP I don’t know why it’s not letting me install any dependencies on my aws instance…

this is what it says

pip install http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp35-cp35m-linux_x86_64.whl
pip install torchvision

I use this to download torch for OS - Linux; Package manager: pip; Python-3.5: CUDA- none
but showing an error " torch-0.1.12.post2-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
"
My system :
Ubuntu 16.04.2 LTS
Os- type 64-bit

so, what should I do?

thanks in advance

Thanks a lot, it worked for me too !!@smth

I’m having the same for pytorch 0.2:

(pytorch) >>>:~/repos/aszproject/pytorch_scripts$ pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post1-cp27-cp27m-manylinux1_x86_64.whl
torch-0.2.0.post1-cp27-cp27m-manylinux1_x86_64.whl is not a supported wheel on this platform.

I’m in a virtualenv with the latest pip, python 2.7, no other pythons installed, and it’s the UCS4 build. I’m on Ubuntu 16.4, cuda8. It’s such a standard setup that I can’t imagine I’m not overlooking something stupid, because lots of people must use this… Any ideas?

btw, the UCS2 wheel does install, but afterwards it doesnt work

I met the same problem when I tried to update Pytorch from 0.1.12 to 0.2.0

My machine:

Linux gpu1.trio.ai 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

I am try to update my pytorch but can not using pip
My OS is Ubuntu 14.04
Python 2.7.6
cuda 8.0
numpy version is 1.12.1

using this command:
pip install http://download.pytorch.org/whl/cu80/torch-0.2.1.post2-cp27-cp27mu-manylinux1_x86_64.whl

and getting this message:

torch-0.2.1.post2-cp27-cp27mu-manylinux1_x86_64.whl is not a supported wheel on this platform.