如何在 anaconda python 3.6 上安装 tensorflow [英] how to install tensorflow on anaconda python 3.6

查看:45
本文介绍了如何在 anaconda python 3.6 上安装 tensorflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 anaconda 包安装了新版本的 python 3.6.但是我无法安装 tensorflow.总是收到

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 在此平台上不受支持.

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

如何在 anaconda (python 3.6) 上安装 tensorflow?

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

推荐答案

更新: TensorFlow 从 1.2.0 版开始支持 Windows 上的 Python 3.6(请参阅 发行说明)

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

TensorFlow 目前仅支持 Python 3.5 64 位.对 Python 3.6 的支持正在进行中,您可以在 此处 以及 chime 进行跟踪在讨论中.

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.

目前在 Windows 上将 Python 3.6 与 TensorFlow 结合使用的唯一替代方法是从源代码构建 TF.

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

如果您不想卸载 Python 3.6 的 Anaconda 发行版并安装以前的版本,您可以为 Python=3.5 创建一个 conda 环境,如下所示:<代码>conda create --name tensorflow python=3.5激活张量流pip 安装 tensorflow-gpu

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

这篇关于如何在 anaconda python 3.6 上安装 tensorflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆