{"id":2530,"date":"2022-04-19T07:11:21","date_gmt":"2022-04-19T07:11:21","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=2530"},"modified":"2022-04-19T07:11:21","modified_gmt":"2022-04-19T07:11:21","slug":"installation-of-tensorflow-through-pip","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/04\/19\/installation-of-tensorflow-through-pip\/","title":{"rendered":"Installation of TensorFlow Through pip"},"content":{"rendered":"\n<p>In this tutorial, we will describe that how to install TensorFlow in Windows 10.<\/p>\n\n\n\n<p><strong>We can download TensorFlow in our system in 2 ways:<\/strong><\/p>\n\n\n\n<ol><li>Through pip (Python package library)<\/li><li>Through Anaconda Navigator (conda)<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">1. Through pip<\/h3>\n\n\n\n<p>So, firstly we have to install and set-up anaconda in our system through pip.<\/p>\n\n\n\n<p>The following are the requirement for TensorFlow to work on our computer.<\/p>\n\n\n\n<ul><li>TensorFlow has only supported 64-bit Python&nbsp;<strong>3.5.x<\/strong>&nbsp;or Python&nbsp;<strong>3.6.x<\/strong>&nbsp;on Windows<\/li><li>When we download the Python&nbsp;<strong>3.5.x<\/strong>&nbsp;version, it comes with the&nbsp;<strong>pip3<\/strong>&nbsp;package manager. (Which is the program that we are going to need for our users to install TensorFlow on Windows).<\/li><\/ul>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;Download Python from the below link:&nbsp;<a href=\"https:\/\/www.python.org\/downloads\/release\/python-352\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/www.python.org\/downloads\/release\/python-352\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip2.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p><strong>After that,<\/strong><\/p>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;We will be brought to another page, where we will need to select either the&nbsp;<strong>x86-64<\/strong>&nbsp;or&nbsp;<strong>amd64 installer<\/strong>&nbsp;to install Python.<\/p>\n\n\n\n<p>We use here&nbsp;<strong>Windows x86-64 executable installer<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip3.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip4.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p>Now, Python is installing successfully.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip5.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong>&nbsp;For this tutorial, I&#8217;ll be choosing to Add&nbsp;<strong>Python 3.5 to PATH<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip6.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p><strong>Step 5:<\/strong>&nbsp;Now, we will be able to see the message &#8220;<strong>Set-up was successful<\/strong>.&#8221; A way to confirm that it hs installed successfully is to open your&nbsp;<strong>Command Prompt<\/strong>&nbsp;and check the version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is pip?<\/h2>\n\n\n\n<p><strong>pip<\/strong>&nbsp;is known as a&nbsp;<strong>package management system<\/strong>&nbsp;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)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing our TensorFlow<\/h3>\n\n\n\n<p>Once we have downloaded the latest version of Python, we can now put our finishing touches by installing our&nbsp;<strong>TensorFlow<\/strong>.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;To install TensorFlow, start the terminal. Make sure that we run the cmd as an administrator.<\/p>\n\n\n\n<p><strong>If we do not know how to run your&nbsp;cmd&nbsp;as an administrator<\/strong><\/p>\n\n\n\n<p>Here&#8217;s how we can run in our cmd as an administrator.<\/p>\n\n\n\n<p>Open the Start menu, search for&nbsp;<strong>cmd<\/strong>, and then right-click on it and&nbsp;<strong>Run as an administrator<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip7.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Once we are done with that, then we have to write the command in&nbsp;<strong>command prompt<\/strong>&nbsp;for finish installing Tensorflow in our Windows.<\/p>\n\n\n\n<p>Enter this command:<a href=\"https:\/\/www.javatpoint.com\/installation-of-tensorflow-through-pip#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/installation-of-tensorflow-through-pip#\"><\/a><a href=\"https:\/\/www.javatpoint.com\/installation-of-tensorflow-through-pip#\"><\/a><\/p>\n\n\n\n<ol><li>C:\\pip3&nbsp;install&nbsp;-upgrade&nbsp;tensorflow&nbsp;&nbsp;<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip8.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip9.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip10.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p>Now, TensorFlow is successfully installed in our system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Testing our TensorFlow<\/h3>\n\n\n\n<p>Here, we try and prove whether our new TensorFlow works smoothly without any problems.<\/p>\n\n\n\n<p>Below is an example that you can write to the test.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip11.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p><strong>TensorFlow is successfully working now.<\/strong><\/p>\n\n\n\n<p>Otherwise, If we are getting any problem to run the program, then we have to install&nbsp;<strong>Microsoft Visual C++ 2015<\/strong>. And set up in our system then the TensorFlow will be run in the system.<\/p>\n\n\n\n<p>We can download&nbsp;<strong>Microsoft Visual C++ 2015<\/strong>&nbsp;from the below link:&nbsp;<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/confirmation.aspx?id=53587\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/www.microsoft.com\/en-us\/download\/confirmation.aspx?id=53587<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip12.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p>We can download from here.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip13.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p>Choose the&nbsp;<strong>vc_redist.x64.exe<\/strong>&nbsp;on the page and click on &#8220;<strong>Next&#8221;<\/strong>&nbsp;after that it will be downloaded.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip14.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static.javatpoint.com\/tutorial\/tensorflow\/images\/installation-of-tensorflow-through-pip15.png\" alt=\"Installation of TensorFlow Through pip\"\/><\/figure>\n\n\n\n<p>At last, it will successfully installed in our system.<\/p>\n\n\n\n<p>We will read&nbsp;<strong>conda install TensorFlow<\/strong>&nbsp;in our next tutorial.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will describe that how to install TensorFlow in Windows 10. We can download TensorFlow in our system in 2 ways: Through pip (Python package library) Through Anaconda Navigator (conda) 1. Through pip So, firstly we have to install and set-up anaconda in our system through pip. The following are the requirement [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[308],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/2530"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=2530"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/2530\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=2530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=2530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=2530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}