Installing TensorFlow 2
Installing TensorFlow 2
o TensorFlow has only supported 64-bit Python 3.5.x or Python 3.6.x on Windows
o When we download the Python 3.5.x version, it comes with the pip3 package manager.
(Which is the program that we are going to need for our users to install TensorFlow on
Windows).
After that,
Step 3: We will be brought to another page, where we will need to select either the x86-64 or amd64
installer to install Python.
What is pip?
pip is known as a package management system which is used to install and manage the software
package, which is written in Python or any other languages. pip is used to download, search, install,
uninstall, and manage the 3rd party python package. (pip3 is the latest version of it which comes
with new Python 3.5.x version that we had just downloaded)
Installing our TensorFlow
Once we have downloaded the latest version of Python, we can now put our finishing touches by
installing our TensorFlow.
Step 1: To install TensorFlow, start the terminal. Make sure that we run the cmd as an administrator.
Open the Start menu, search for cmd, and then right-click on it and Run as an administrator.
Step 2: Once we are done with that, then we have to write the command in command prompt for
finish installing Tensorflow in our Windows.
Here, we try and prove whether our new TensorFlow works smoothly without any problems.
Otherwise, If we are getting any problem to run the program, then we have to install Microsoft
Visual C++ 2015. And set up in our system then the TensorFlow will be run in the system.
We can download Microsoft Visual C++ 2015 from the below link: https://www.microsoft.com/en-
us/download/confirmation.aspx?id=53587
Firstly, we have to open the official site of Anaconda and download Anaconda from the below
link: https://www.anaconda.com/distribution/
After that, we have to download Anaconda from below highlighted Python 2.7 version.
It will successfully be downloaded in our system. After that, we have to install Anaconda in our
system.
Click on "Next."
Click on "Next."
Click on "Next."
Click on "Next."
After clicking on "finish."
After that, we have to run the given command to set-up the TensorFlow and libraries.
So, according to the above screenshot, TensorFlow is successfully working in our system.