Loading...

How to install Tensorflow on Windows

There are two ways of installing Tensorflow; there's Tensorflow CPU and Tensorflow GPU. This blog tells you how to install Tensorflow CPU on your Windows computer

Where we break down Tensorflow CPU installation on a Windows PC into quick, simple steps

How to install Tensorflow on Windows. The step by step tutorial to install tensorflow using simple steps.

Apr 23, 2019    By Team YoungWonks *

How can you install Tensorflow on your Windows computer? This blog shall tell you how.. 

But before we look at the steps, a quick look at what is Tensorflow. TensorFlow is basically a free and open-source software library for dataflow and differentiable programming across a variety of tasks. It is a symbolic math library, and is also used for machine learning applications such as neural networks. Developed by the Google Brain team, it is being used for both research and production at Google.‍ Tensorflow can be installed either through CPU installation or GPU installation.

Below are the instructions to be followed for installing Tensorflow CPU on a Windows computer: 

  • If Python is installed, open IDLE as shown below. 

Windows screengrab1

 

 

  • If pip is already installed and added to path, go to command line, type pip install tensorflow as shown below. 

Windows screengrab9

 

  • Doing this will install Tensorflow on your Windows computer. It might take about 1-3 minutes depending upon your Internet speed. To confirm that Tensorflow has been installed on your Windows computer, go to idle and type import tensorflow as tf in the shell as shown below. 

Windows screengrab10

 

  • If there are no errors, then it means Tensorflow has been succesfully installed on your Windows computer.

Windows screengrab11

 

  • If pip is not installed, open IDLE as shown below.

Windows screengrab1

 

  • Then go to File as shown below. 

Windows screengrab2

 

  • Click on Open as shown below. 

Windows screengrab3

 

  • Open Scripts folder as shown below. 

Windows screengrab4

 

  • Right click on Scripts as shown. 

Windows screengrab5

 

  •  Select copy address as text as shown below. 

Windows screengrab6

 

  • Open Command Prompt as shown. 

Windows screengrab7

 

  • Type cd <paste copied content> as shown below. 

Windows screengrab8

 

  • Then press enter. After that, type pip install tensorflow as shown below. 

Windows screengrab9

 

  • Doing this will install Tensorflow on your Windows computer. It might take about 1-3 minutes depending upon your Internet speed. To confirm that Tensorflow has been installed on your Windows computer, go to idle and type import tensorflow as tf in the shell as shown below. 

Windows screengrab10

 

  • If there are no errors, then it means Tensorflow has been succesfully installed on your Windows computer.

Windows screengrab11

 

 

Below is a video explaining the Tensorflow (CPU) installation on a Windows PC:

 

 

If you want to install a specific version of Tensorflow, type pip install tensorflow==version. For example, you can type pip install tensorflow==1.1

If you wish to upgrade the Tensorflow on your Windows computer, the command to be typed is as follows: pip install --upgrade tensorflow

 

If you want to read about how you can install Tensorflow on your Mac, visit our blog here: https://www.youngwonks.com/blog/How-to-install-Tensorflow-on-a-Mac

 

Enhance Your Child's Coding Journey

If you're looking to further support your child's interest in programming and machine learning, Coding Classes for Kids at YoungWonks is an excellent starting point. We offer tailored Python Coding Classes for Kids, where they can learn the fundamentals of Python - a key language for AI and machine learning projects. For those eager to dive deeper into the fascinating world of AI, our AI Classes for Kids pave the way for young minds to explore and innovate with cutting-edge technologies. Join us on this exciting learning adventure.

*Contributors: Written by Prajwal Manurajan; Edited by Vidya Prabhu; Lead image by: Leonel Cruz

This blog is presented to you by YoungWonks. The leading coding program for kids and teens.

YoungWonks offers instructor led one-on-one online classes and in-person classes with 4:1 student teacher ratio.

Sign up for a free trial class by filling out the form below:



By clicking the "Submit" button above, you agree to the privacy policy
Share on Facebook Share on Facebook Share on Twitter Share on Twitter
help