What is the reason of it?

In my conda env, my python version is 3.6.2.
I use

pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl 

But there is a error.

torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.

When I use

pip install http://download.pytorch.org/whl/cu90/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl 

There is no error.

Can someone explain for it?Thank you.

My guess is that your pip3 is linked to a non-conda installation of python or somewhere else, while your pip is linked to your conda env’s python 3.6.2
What does your which pip3 and which pip say?

I am also running into this issue when installing Pytorch within an Ubuntu based Singularity container. The container does not make use of Anaconda, so it can’t be a mixup of python paths in my case.

What would happen if we tried going to an older version of torch, say 0.2.0? Would there be any glaring issues there?

Another explanation is that pip and pip3 refer to installs with different versions of python, e.g. python 2 and 3.

True, in my case I am explicitly using python3 with pip3:

apt install -y python3-tk python3-numpy python3-scipy python3-dev python3-pip python3-setuptools