

{"id":14006,"date":"2018-05-03T10:22:48","date_gmt":"2018-05-03T10:22:48","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=14006"},"modified":"2021-05-14T11:00:27","modified_gmt":"2021-05-14T05:30:27","slug":"install-tensorflow","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/","title":{"rendered":"How to Install TensorFlow Quickly and Easily"},"content":{"rendered":"<p>In our last <strong>TensorFlow Tutorial<\/strong>, we discussed <strong>Tensorflow API<\/strong>. Today we will see how to install TensorFlow.\u00a0 While looking at the TensorFlow installation in your system we will also learn\u00a0<strong>how to install Tensorflow with Anaconda<\/strong>.<\/p>\n<p>Moreover, we will see the process\u00a0to install TensorFlow Virtual environment, Pip, Docker. Also, we will discuss TensorFlow installation process with GPU &amp; CPU.<\/p>\n<p>So let\u2019s understand how to install TensorFlow.<\/p>\n<h2>TensorFlow Installation With CPU and GPU<\/h2>\n<p>Before getting started with Tensorflow Installation it is important to note that TensorFLow has been tested in 64-bit versions and with Ubuntu 16.04 or higher.<\/p>\n<p>Before you install TensorFlow in your system, it is important to know which kind of installation is best suited for your need. You should choose between the following types:<\/p>\n<p><strong>Install Tensorflow With CPU support only:<\/strong> This usually takes less time than a <strong>GPU<\/strong> supported version and this type is recommended if you do not have an NVIDIA GPU in your computer system<\/p>\n<p><strong>Install Tensorflow With GPU support:<\/strong> It takes a little more time but the processing is faster than a CPU, and the requirements should be met as listed below, the following programs must be installed on your system before you install Tensorflow with GPU Support:<\/p>\n<ul>\n<li>CUDA\u00ae Toolkit 9.0<\/li>\n<li>The NVIDIA drivers associated with CUDA Toolkit 9.0.<\/li>\n<li>cuDNN v7.0<\/li>\n<li>GPU card with CUDA Compute Capability 3.0 or higher.<\/li>\n<\/ul>\n<h2>Methods to Install TensorFlow<\/h2>\n<p>In Ubuntu, it is recommended to first install pip in your system if not already installed, as it is one of the things that\u2019ll be required quite often while working with Python. For installing pip, use the <strong>following commands:<\/strong><\/p>\n<p><strong># for Python 2.7<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">$ sudo apt-get install python-pip python-dev<\/pre>\n<p><strong># for Python 3.n<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">$ sudo apt-get install python3-pip python3-dev<\/pre>\n<p>You can then proceed with Tensorflow installation using the following methods:<\/p>\n<ul>\n<li>Install in Virtual Environment like Virtual Box.<\/li>\n<li>Using python package installer pip.<\/li>\n<li>Using container software like Docker.<\/li>\n<li>Using Anaconda<\/li>\n<li>Installing from other sources.<\/li>\n<\/ul>\n<h3>a. Using Virtual Environment<\/h3>\n<p>This is a suggested method since it is incapable of interfering with or affecting the other Python programs on the same machine. You need to enable a virtual environment in your BIOS for using it.<\/p>\n<p>Create a virtual environment for TensorFlow Installation:<br \/>\n<strong># for Python 2.7<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">$ virtualenv --system-site-packages targetDirectory<\/pre>\n<p><strong># for Python 3.n<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">$ virtualenv --system-site-packages -p python3 targetDirectory<\/pre>\n<p>where targetDirectory specifies the top of the Virtualenv tree. Our instructions assume that targetDirectory is ~\/TensorFlow, but you may choose any directory. Then activate the environment using.<\/p>\n<pre class=\"EnlighterJSRAW\">$ source ~\/tensorflow\/bin\/activate # bash, sh, ksh, or zsh\r\n$ source ~\/tensorflow\/bin\/activate.csh  # csh or tcsh<\/pre>\n<p>The source \u00a0command now changes to :(tensorflow)$<br \/>\nNow issue one of the following commands in the active virtual environment :<br \/>\n<strong># for Python 2.7<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip install --upgrade tensorflow<\/pre>\n<p><strong># for Python 3.n<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip3 install --upgrade tensorflow<\/pre>\n<p><strong># for Python 2.7 and GPU<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip install --upgrade tensorflow-gpu<\/pre>\n<p><strong># for Python 3.n and GPU<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip3 install --upgrade tensorflow-gpu<\/pre>\n<h3>b. Using pip<\/h3>\n<p>The native pip install TensorFlow directly into your system, without going through any container system. Plus, it is an easy installation. Use the following commands for the installation:<\/p>\n<pre class=\"EnlighterJSRAW\">$ pip install tensorflow      # Python 2.7; CPU support (no GPU support)\r\n$ pip3 install tensorflow     # Python 3.n; CPU support (no GPU support)\r\n$ pip install tensorflow-gpu  # Python 2.7;  GPU support\r\n$ pip3 install tensorflow-gpu # Python 3.n; GPU support<\/pre>\n<p>If the above step fails, try upgrading the binary files using :<\/p>\n<pre class=\"EnlighterJSRAW\">$ sudo pip  install --upgrade tfBinaryURL   # Python 2.7\r\n$ sudo pip3 install --upgrade tfBinaryURL   # Python 3.n<\/pre>\n<h3>c.\u00a0 Install TensorFlow With Docker<\/h3>\n<p>It isolates the library installation from pre-existing packages on your machine. The only downside is that the Docker image can be a bit large approx to 100s of Mbs. You have to first install Docker and initialize the container.<\/p>\n<p>To install a version of TensorFlow that supports GPUs, you must first install Nvidia-docker, which is stored in GitHub, then, launch a Docker container that contains one of the TensorFlow binary images. With CPU support only do :<\/p>\n<pre class=\"EnlighterJSRAW\">$ docker run -it -p hostPort:containerPort TensorFlowCPUImage<\/pre>\n<p>Where -p hostPort:containerPort is optional.<br \/>\nTensorFlowCPUImage is required. Specify one of the following values:<\/p>\n<ul>\n<li>tensorflow\/tensorflow, which is the TensorFlow CPU binary image.<\/li>\n<li>tensorflow\/tensorflow:latest-devel, which is the latest TensorFlow CPU Binary image plus source code.<\/li>\n<li>tensorflow\/tensorflow:version, which is the specified version (for example, 1.1.0rc1) of TensorFlow CPU binary image.<\/li>\n<li>tensorflow\/tensorflow:version-devel, which is the specified version (for example, 1.1.0rc1) of the TensorFlow GPU binary image plus source code.<\/li>\n<\/ul>\n<p>For example,<\/p>\n<pre class=\"EnlighterJSRAW\">$ docker run -it tensorflow\/tensorflow bash<\/pre>\n<p>You can Jupyter Notebook too,<\/p>\n<pre class=\"EnlighterJSRAW\">$ docker run -it -p 8888:8888 tensorflow\/tensorflow<\/pre>\n<h3>d. Installing TensorFlow Using Anaconda<\/h3>\n<p>You may use conda to create a virtual environment, and then using either conda install or pip install for installing TensorFlow. First, you need to download and install Anaconda in your system.<\/p>\n<pre class=\"EnlighterJSRAW\">$ conda create -n tensorflow pip python=2.7 # or python=3.3, etc.<\/pre>\n<p>Creates a conda environment named tensorflow to run a version of Python. Activating the conda environment using,<\/p>\n<pre class=\"EnlighterJSRAW\">$ source activate tensorflow\r\n(tensorflow)$<\/pre>\n<p># Your prompt should change<br \/>\nThen, install TensorFlow using :<\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip install --ignore-installed --upgrade tfBinaryURL<\/pre>\n<p>For example, the following command installs the CPU-only version of TensorFlow for Python 3.4:<\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)$ pip install --ignore-installed --upgrade \\\r\nhttps:\/\/storage.googleapis.com\/tensorflow\/linux\/cpu\/tensorflow-1.7.0-cp34-cp34m-linux_x86_64.whl<\/pre>\n<p>Now test your installation by typing out the following commands :<br \/>\n<strong># Python<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">import tensorflow as tf\r\nhello = tf.constant('Hello, TensorFlow!')\r\nsess = tf.Session()\r\nprint(sess.run(hello))<\/pre>\n<p>You should see the following output if everything is done correctly,<\/p>\n<p>Hello, TensorFlow!<br \/>\nInstalling Tensorflow on Windows,<\/p>\n<ul>\n<li>Using \u2018native\u2019 pip<\/li>\n<li>Using Anaconda<\/li>\n<\/ul>\n<h3>e. Using Pip to Install TensorFlow<\/h3>\n<p>The above methods described earlier are the same for windows as well with a few minor changes.<br \/>\nFirst, start a terminal, then type :<\/p>\n<pre class=\"EnlighterJSRAW\">C:\\&gt; pip3 install --upgrade tensorflow<\/pre>\n<p>And for GPU support add \u201c-gpu\u201d suffix with tensorflow. That\u2019s it.<\/p>\n<h3>f. Again Using Anaconda<\/h3>\n<p>Again, create a conda environment as follows:<\/p>\n<pre class=\"EnlighterJSRAW\">C:&gt; conda create -n tensorflow pip python=3.5<\/pre>\n<p>Then, activate the environment using:<\/p>\n<pre class=\"EnlighterJSRAW\">C:&gt; activate tensorflow\r\n(tensorflow)C:&gt; \u00a0# Your prompt should change<\/pre>\n<p>Now, issue the command for TensorFlow installation as described below:<\/p>\n<pre class=\"EnlighterJSRAW\">(tensorflow)C:&gt; pip install --ignore-installed --upgrade tensorflow<\/pre>\n<p>Now, it\u2019s time to test the installation using :<br \/>\nFirst start python in the terminal, then, type the following,<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; import tensorflow as tf\r\n&gt;&gt;&gt; hello = tf.constant('Hello, TensorFlow!')\r\n&gt;&gt;&gt; sess = tf.Session()\r\n&gt;&gt;&gt; print(sess.run(hello))<\/pre>\n<p>If the output is as given below, then, congratulations on your first TensorFlow code!<br \/>\nHello, TensorFlow!<\/p>\n<h2>Install TensorFlow in MacOS<\/h2>\n<p>The methods are followed in the installation of TensorFlow:<\/p>\n<ul>\n<li>Virtualenv<\/li>\n<li>&#8220;native&#8221; pip<\/li>\n<li>Docker<\/li>\n<\/ul>\n<p>The TensorFlow installation with docker and Virtualenv remain the same as described previously.<br \/>\nUsing pip, first install it :<\/p>\n<pre class=\"EnlighterJSRAW\">$ sudo easy_install --upgrade pip\r\n$ sudo easy_install --upgrade six<\/pre>\n<p>Now, to install TensorFlow<br \/>\n# Python 2.7; CPU support<\/p>\n<pre class=\"EnlighterJSRAW\">$ pip install tensorflow<\/pre>\n<p># Python 3.n; CPU support<\/p>\n<pre class=\"EnlighterJSRAW\">$ pip3 install tensorflow<\/pre>\n<p>That\u2019s it, pretty easy, right!<br \/>\nNow, validate your installation by using the same previous command,<br \/>\n<strong># Python<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">import tensorflow as tf\r\nhello = tf.constant('Hello, TensorFlow!')\r\nsess = tf.Session()\r\nprint(sess.run(hello))<\/pre>\n<p>And you should see the following output:<br \/>\nHello, TensorFlow!<br \/>\nSo, this was all in how to Install TensorFlow. Hope you like our explanation of Installing TensorFlow.<\/p>\n<h2>Conclusion<\/h2>\n<p>Hence, we saw how to install Tensorflow by importing the libraries and dependencies using various methods on different systems. Moreover, we discussed the TensorFlow installation with GPU &amp; CPU.<\/p>\n<p>Also, we saw install TensorFlow using Pip, Anaconda &amp; Virtual environment. Next up, we\u2019ll be making <strong>clusters in Tensorflow<\/strong>. Still, if any doubt, ask in the comment tab.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last TensorFlow Tutorial, we discussed Tensorflow API. Today we will see how to install TensorFlow.\u00a0 While looking at the TensorFlow installation in your system we will also learn\u00a0how to install Tensorflow with&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":21446,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[6234,6802,6803,6804,6805,6806,6824,6825,14557],"class_list":["post-14006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tensorflow","tag-how-to-install-tensorflow","tag-install-tensorflow","tag-install-tensorflow-on-macos","tag-install-tensorflow-on-ubuntu","tag-install-tensorflow-on-windows","tag-install-tensorflow-with-docker","tag-installing-tensorflow-with-cpu","tag-installing-tensorflow-with-gpu","tag-tensorflow-installation-process"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install TensorFlow Quickly and Easily - DataFlair<\/title>\n<meta name=\"description\" content=\"Install Tensorflow tutorial:Tensorflow installation on windows,Ubuntu and MacOS, install TensorFlow using Anaconda on Ubuntu,PIP, Docker&amp;Virtual environment\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/install-tensorflow\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install TensorFlow Quickly and Easily - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Install Tensorflow tutorial:Tensorflow installation on windows,Ubuntu and MacOS, install TensorFlow using Anaconda on Ubuntu,PIP, Docker&amp;Virtual environment\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/install-tensorflow\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-03T10:22:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-14T05:30:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install TensorFlow Quickly and Easily - DataFlair","description":"Install Tensorflow tutorial:Tensorflow installation on windows,Ubuntu and MacOS, install TensorFlow using Anaconda on Ubuntu,PIP, Docker&Virtual environment","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/","og_locale":"en_US","og_type":"article","og_title":"How to Install TensorFlow Quickly and Easily - DataFlair","og_description":"Install Tensorflow tutorial:Tensorflow installation on windows,Ubuntu and MacOS, install TensorFlow using Anaconda on Ubuntu,PIP, Docker&Virtual environment","og_url":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-05-03T10:22:48+00:00","article_modified_time":"2021-05-14T05:30:27+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"How to Install TensorFlow Quickly and Easily","datePublished":"2018-05-03T10:22:48+00:00","dateModified":"2021-05-14T05:30:27+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/"},"wordCount":986,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg","keywords":["how to install tensorflow","install tensorflow","Install tensorflow on MacOS","install tensorflow on Ubuntu","Install Tensorflow on windows","install TensorFlow With docker","Installing TensorFlow with CPU","installing tensorflow with GPU","tensorflow installation process"],"articleSection":["Tensorflow Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/install-tensorflow\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/","url":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/","name":"How to Install TensorFlow Quickly and Easily - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg","datePublished":"2018-05-03T10:22:48+00:00","dateModified":"2021-05-14T05:30:27+00:00","description":"Install Tensorflow tutorial:Tensorflow installation on windows,Ubuntu and MacOS, install TensorFlow using Anaconda on Ubuntu,PIP, Docker&Virtual environment","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/install-tensorflow\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Tensorflow-Installation-01-1.jpg","width":1200,"height":628,"caption":"How to install tensorFlow"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/install-tensorflow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Tensorflow Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/tensorflow\/"},{"@type":"ListItem","position":3,"name":"How to Install TensorFlow Quickly and Easily"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=14006"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14006\/revisions"}],"predecessor-version":[{"id":95007,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14006\/revisions\/95007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/21446"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=14006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=14006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=14006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}