how to install tensorflow on anaconda python 3.6

Muten_Roshi picture Muten_Roshi · Apr 15, 2017 · Viewed 183.8k times · Source

I installed the new version python 3.6 with the anaconda package. However i am not able to install tensorflow. Always receive the error that

tensorflow_gpu-1.0.0rc2-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

How can I install tensorflow on anaconda (python 3.6)?

Answer

Adriano picture Adriano · Apr 15, 2017

UPDATE: TensorFlow supports Python 3.6 on Windows since version 1.2.0 (see the release notes)


TensorFlow only supports Python 3.5 64-bit as of now. Support for Python 3.6 is a work in progress and you can track it here as well as chime in the discussion.

The only alternative to use Python 3.6 with TensorFlow on Windows currently is building TF from source.

If you don't want to uninstall your Anaconda distribution for Python 3.6 and install a previous release you can create a conda environment for Python=3.5 as in: conda create --name tensorflow python=3.5 activate tensorflow pip install tensorflow-gpu