Thursday, February 25, 2016

tensorflow-0.7.1-cp27-none-any.whl is not a supported wheel on this platform.

When you try to install TensorFlow, you might get the following error:

$ pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp27-none-any.whl
tensorflow-0.7.1-cp27-none-any.whl is not a supported wheel on this platform.
$

Check your pip version as follows:

$ pip --version
pip 8.0.3 from /Users/izeye/anaconda/lib/python3.5/site-packages (python 3.5)
$

$ pip2.7 --version
pip 8.0.3 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (python 2.7)
$

And use an appropriate version as follows:

sudo pip2.7 install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp27-none-any.whl

Reference:
https://github.com/tensorflow/tensorflow/issues/1252

1 comment: