Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TensorFlow on Windows: "not a supported wheel on this platform" error

Tags:

tensorflow

Was happy to know Tensorflow is made available for Windows and we don't have to use Docker.

I tried to install as per instructions but I get this error.

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

What does that error mean?

I am running latest version of Python.

python --version Python 3.5.2

like image 324
Ravi C Avatar asked Dec 02 '16 21:12

Ravi C


2 Answers

This is most likely to be a 64-bit versus 32-bit issue. The pre-built TensorFlow pip package is 64-bit only, but the default version of Python 3.5.2 on Python.org is 32-bit. You can download the 64-bit release from here (select one of the "Windows x86-64" options).

like image 136
mrry Avatar answered Sep 21 '22 17:09

mrry


It's only available for Python 3.5.x not 3.6.

You can quickly create a 3.5 environment with: conda create -n tensorflow python=3.5

like image 44
mike Avatar answered Sep 20 '22 17:09

mike