Cannot install due to "not a supported wheel on this platform" on Windows

PS C:\sync\code\python\tensorFlowTest> pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp36-cp36m-win_amd64.whl
torch-0.4.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
PS C:\sync\code\python\tensorFlowTest> python --version
Python 3.6.4
PS C:\sync\code\python\tensorFlowTest> pip --version
pip 10.0.1 from c:\users\ikena\appdata\local\programs\python\python36-32\lib\site-packages\pip (python 3.6)

This is probably not going to work, but have you tried just pip install ... (instead of pip3)?

Yeah I tried. Same result. Also I tried all the whls (cpu, cuda 8 etc.), tried CMD instead of PS, none of them work.

Are you on 32-bit windows?

Nope. Win 10 64-bit.

Edit: got the same problem on another Win 7 x64 computer.

It may be your Python is 32-bit.

1 Like

Ah, that’s why.

For some reason it doesn’t cross my mind that I need Python 64-bit.

Thanks and solved!