在Windows中使用Anaconda安装Tensorflow

在Windows中使用Anaconda安装Tensorflow

本文介绍了在Windows中使用Anaconda安装Tensorflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows 64位上安装了Anaconda.我已经下载了用于创建项目的PyCharm,并在PyCharm的终端中使用以下命令安装了numpyscipymatplotlib:

I have installed Anaconda on Windows 64 bit. I have downloaded PyCharm for creating a project and in the terminal of PyCharm I have installed numpy, scipy, matplotlib using the following commands:

conda install numpy
conda install scipy
conda install matplotlib

我无法以与安装其他软件包相同的方式安装Tensorflow.我应该如何安装?

I am not able to install Tensorflow in the same way I installed these other packages. How should I install it?

推荐答案

Google最近发布了Tesnsorflow r0.12的较新版本,其中包括对Windows的支持,现在可以使用Python> = 3.5.2安装CPU和GPU版本. (仅64位)版本.

Google has recently launched a newer version of Tesnsorflow r0.12 which include support of Windows both CPU and GPU version can now be installed using Python >=3.5.2 (only 64-bit) version.

对于仅CPU版本,请打开命令提示符,然后输入跟随命令

For CPU only version open command prompt and enter follow command

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl

按照 Windows上的Tensorflow 进行操作,以获取逐步说明.

Follow this Tensorflow on Windows for step by step instructions.

更新

要安装当前最新版本,请运行以下命令:

To install current latest version please run following command:

pip install tensorflow #CPU only
pip install tensorflow-gpu #For GPU support

这篇关于在Windows中使用Anaconda安装Tensorflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 16:13