Home / Machine Learning / Install TensorFlow on Anaconda [Windows 10]

Install TensorFlow on Anaconda [Windows 10]

Introduction

This tutorial concentrate on how-to install TensorFlow (CPU and GPU) on Windows 10 with Anaconda environment.

Prerequisite

  • You must have Anaconda installed on your machine. [Readme]
  • TensorFlow only supports version 3.5.x of Python on Windows. However, if you use Anaconda, you can create a new environment with Python 3.5.

Installation

  1. Create a new environment, named tensorflow.
  2. Open Terminal.
  3. Activate this environment by typing activate tensorflow.
  4. Install TensorFlow by your need:
    1. To install CPU-only version of TensorFlow, type: pip install --ignore-installed --upgrade //storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl
    2. To install GPU version of TensorFlow, type: pip install --ignore-installed --upgrade //storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.1-cp35-cp35m-win_amd64.whl
  5. It will download and install TensorFlow to current environment. If your Terminal look like this, that means, TensorFlow is successfully installed.

About Phuc Duong [Admin]

Lecturer, Scientist of Faculty of Information Technology, Ton Duc Thang University (Vietnam).

Check Also

Measuring Similarity and Sentiment Analysis with Theano 0.7