Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing tensorflow with anaconda in windows

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 

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

like image 848
Ahmad Avatar asked May 10 '16 06:05

Ahmad


1 Answers

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.

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 

Follow this Tensorflow on Windows for step by step instructions.

UPDATE

To install current latest version please run following command:

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

UPDATE 2020

Tensorflow 2.0 now has a single package for both CPU and GPU version, simply run

pip install tensorflow 

If your're using Anaconda you can install Tensorflow GPU version and all of its dependencies (CUDA, cuDNN) by running:

conda install -c tensorflow-gpu 
like image 66
Muhammad Hannan Avatar answered Sep 24 '22 07:09

Muhammad Hannan