Tensorflow 1.0 Windows + 64位Anaconda 4.3.0错误

Rog*_*len 11 tensorflow

按照https://www.tensorflow.org/install/install_windows上 "使用Anaconda安装"中的说明进行操作,我发现了这一点,并且失败了.

(tensorflow) C:\Users\rallen\Documents\Devel\python\tensorflow>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl tensorflow_gpu-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.

这是我的环境64位Anaconda3 4.3.0

>python Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

我以前成功安装了来自pip的1.0之前的tensorflow.

Rog*_*len 8

显然python 3.5非常重要.由于最新的Anaconda3发行版是3.6,你必须这样做:

> conda create -n tensorflow python=3.5

似乎现在可以在pip上使用1.0软件包,所以你可以这样做:

..> activate tensorflow ...> pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow_gpu-1.0.0-cp35-cp35m-win_amd64.whl (43.1MB) 100% |################################| 43.1MB 31kB/s Collecting protobuf>=3.1.0 (from tensorflow-gpu) ...

我已成功运行python 3.5 shell中的'hello world'命令并tf.__version__显示为'1.0.0'