Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tensorflow: Not a supported wheel on this platform

I've installed both anaconda 2 and 3 in a Windows 64bit machine. I'm trying to install Tensorflow with anaconda as per the instructions here. However, I'm getting the following error while doing a pip install.

tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.

My anaconda info:

           platform : win-64
      conda version : 4.2.13
   conda is private : False
  conda-env version : 4.2.13
conda-build version : 1.20.0
     python version : 2.7.12.final.0
   requests version : 2.13.0
   root environment : C:\Anaconda2  (writable)
default environment : C:\Anaconda2\envs\tensorflow
   envs directories : C:\Anaconda2\envs
      package cache : C:\Anaconda2\pkgs
       channel URLs : https://repo.continuum.io/pkgs/free/win-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/pro/win-64
                      https://repo.continuum.io/pkgs/pro/noarch
                      https://repo.continuum.io/pkgs/msys2/win-64
                      https://repo.continuum.io/pkgs/msys2/noarch
        config file : None
       offline mode : False

I would really appreciate any help since I'm banging my head on this since last 8 hours.

Edit

I've removed Anaconda 2 and tried to install tensorflow again. Getting the same error. Please find the anaconda info.

            platform : win-64
      conda version : 4.2.9
   conda is private : False
  conda-env version : 4.2.9
conda-build version : 2.0.2
     python version : 3.5.2.final.0
   requests version : 2.11.1
   root environment : C:\Users\Gramener\Anaconda3  (writable)
default environment : C:\Users\Gramener\Anaconda3\envs\tensorflow
   envs directories : C:\Users\Gramener\Anaconda3\envs
      package cache : C:\Users\Gramener\Anaconda3\pkgs
       channel URLs : https://repo.continuum.io/pkgs/free/win-64/
                      https://repo.continuum.io/pkgs/free/noarch/
                      https://repo.continuum.io/pkgs/pro/win-64/
                      https://repo.continuum.io/pkgs/pro/noarch/
                      https://repo.continuum.io/pkgs/msys2/win-64/
                      https://repo.continuum.io/pkgs/msys2/noarch/
        config file : None
       offline mode : False
like image 315
Niyas Avatar asked Feb 25 '17 13:02

Niyas


2 Answers

Explicitly use python 3.5 when you create your Anaconda environment. IE:

create -n tensorflow python=3.5

then run the following command to install tensorflow:

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl

Then you can successful do the Hello Tensorflow example from https://www.tensorflow.org/install/install_windows

like image 85
ctrlalt313373 Avatar answered Nov 08 '22 10:11

ctrlalt313373


Use python 3.5

conda create -n tensorflow python=3.5

like image 41
Rafaf Tahsin Avatar answered Nov 08 '22 11:11

Rafaf Tahsin