{"id":903,"date":"2017-10-31T19:03:58","date_gmt":"2017-10-31T19:03:58","guid":{"rendered":"http:\/\/blog.cloudxlab.com\/?p=903"},"modified":"2017-12-05T17:17:03","modified_gmt":"2017-12-05T17:17:03","slug":"python-setup-machine-learning-data-science-tools-using-anaconda","status":"publish","type":"post","link":"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/","title":{"rendered":"Python Setup Using Anaconda For Machine Learning and Data Science Tools"},"content":{"rendered":"<p><img class=\"aligncenter wp-image-904 size-large\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1024x512.png\" alt=\"Python for Machine Learning\" width=\"840\" height=\"420\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1024x512.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/scikit-learnpython-300x150.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/scikit-learnpython-768x384.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1200x600.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>In this post, we will learn how to configure tools required for CloudxLab&#8217;s\u00a0<a href=\"https:\/\/cloudxlab.com\/course\/14\/machine-learning-foundation-tools\" target=\"_blank\" rel=\"noopener\">Python for Machine Learning<\/a> course.\u00a0We will use Python 3 and Jupyter notebooks for hands-on practicals in the course. Jupyter notebooks provide a really good user interface to write code, equations, and visualizations.<\/p>\n<p>Please choose one of the options listed below for practicals during the course.<\/p>\n<p><!--more--><\/p>\n<h2>Option 1- Use CloudxLab&#8217;s lab<\/h2>\n<p>At CloudxLab, we provide the virtual online cloud-based lab with all the software and tools pre-installed so that you can start practicing immediately instead of going through the pain of installing and configuring the tools and software on your local machine.<\/p>\n<p>Please find more details on the lab\u00a0<a href=\"https:\/\/cloudxlab.com\/lab\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.\u00a0You can start with the 1-month plan and extend it as per your convenience.<\/p>\n<p>We recommend to signup for the lab to get most out of the course. If you prefer using your local machine instead, then please follow the steps given in the later section of this guide.<\/p>\n<p>Please note that due to a high number of signups in this course, it will be difficult for us to provide support in case of installation issues on your local machine.<\/p>\n<p>After your subscription to the lab, Navigate to <a href=\"https:\/\/cloudxlab.com\/my-lab\" target=\"_blank\" rel=\"noopener\">&#8220;My Lab&#8221;<\/a>\u00a0and click on &#8220;Lab Credentials&#8221;. Here you will see your lab username, password, and links to access various services like Ambari, Hue, Web Console and Jupyter. Click on &#8220;Jupyter&#8221;.<\/p>\n<figure id=\"attachment_909\" aria-describedby=\"caption-attachment-909\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"wp-image-909 size-large\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/jupyter-service-1024x377.png\" alt=\"Jupyter Service\" width=\"840\" height=\"309\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-service-1024x377.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-service-300x111.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-service-768x283.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-service-1200x442.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-service.png 1351w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-909\" class=\"wp-caption-text\">Jupyter Service<\/figcaption><\/figure>\n<p>Log in with your lab username and password. After successful login, Jupyter lists all the files and folders in your home directory (if you have any)<\/p>\n<figure id=\"attachment_912\" aria-describedby=\"caption-attachment-912\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"wp-image-912 size-large\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Files_in_home_folder--1024x499.png\" alt=\"Files in Home Folder\" width=\"840\" height=\"409\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Files_in_home_folder--1024x499.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Files_in_home_folder--300x146.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Files_in_home_folder--768x374.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Files_in_home_folder--1200x585.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Files_in_home_folder-.png 1391w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-912\" class=\"wp-caption-text\">Files in Home Folder<\/figcaption><\/figure>\n<p>Let&#8217;s launch a Python 3 notebook. Click on &#8220;New&#8221; and select &#8220;Python 3&#8221; to launch a Python 3 notebook<\/p>\n<figure id=\"attachment_914\" aria-describedby=\"caption-attachment-914\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-914\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Python3_notebook-1024x428.png\" alt=\"Python 3 Notebook\" width=\"840\" height=\"351\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Python3_notebook-1024x428.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Python3_notebook-300x125.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Python3_notebook-768x321.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Python3_notebook-1200x501.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Python3_notebook.png 1430w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-914\" class=\"wp-caption-text\">Python 3 Notebook<\/figcaption><\/figure>\n<p>Jupyter notebook consists of cells where we write the code. Let&#8217;s import few python packages and check if Python packages are available. Type below code in the cell and press &#8220;Shift + Enter&#8221; to execute the code.<\/p>\n<pre class=\"lang:python decode:true\">import numpy\r\nimport pandas<\/pre>\n<figure id=\"attachment_916\" aria-describedby=\"caption-attachment-916\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-916\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/importing_python_packages-1024x360.png\" alt=\"Importing Python Packages\" width=\"840\" height=\"295\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/importing_python_packages-1024x360.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/importing_python_packages-300x106.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/importing_python_packages-768x270.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/importing_python_packages-1200x422.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/importing_python_packages.png 1379w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-916\" class=\"wp-caption-text\">Importing Python Packages<\/figcaption><\/figure>\n<p>As you can see that we have successfully imported the packages as there is no error displayed by the notebook. Now we&#8217;re good to go for doing hands-on in the lab during the course.<\/p>\n<h2>Option 2 &#8211; Install Python 3 on your local machine<\/h2>\n<p>If you prefer installing these tools locally then please follow below steps<\/p>\n<h2>2.1 Installation on Windows<\/h2>\n<p>We&#8217;ll use Anacoda to configure packages required for the course. Anaconda is a Python distribution that makes it easy to install Python and other data science and machine learning libraries in a flexible way on a Windows, Mac and Linux machines.<\/p>\n<p>Let&#8217;s download Anaconda. Go to Anaconda <a href=\"https:\/\/www.anaconda.com\/download\/#windows\" target=\"_blank\" rel=\"noopener\">download page<\/a>\u00a0and download Python 3.6, 64-bit Graphical installer. Please, select 32-bit installer if your Windows is 32-bit.<\/p>\n<figure id=\"attachment_923\" aria-describedby=\"caption-attachment-923\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"wp-image-923 size-large\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/anaconda-download-1024x434.png\" alt=\"Download Anaconda\" width=\"840\" height=\"356\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-download-1024x434.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-download-300x127.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-download-768x326.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-download-1200x509.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-download.png 1412w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-923\" class=\"wp-caption-text\">Download Anaconda<\/figcaption><\/figure>\n<p>Now install the Anaconda&#8217;s .exe\u00a0file. After the installation is complete, search for &#8220;Anaconda Navigator&#8221; in the programs and click on it.<\/p>\n<figure id=\"attachment_925\" aria-describedby=\"caption-attachment-925\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-925\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Anaconda-navigator-1024x557.png\" alt=\"Anaconda Navigator\" width=\"840\" height=\"457\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-navigator-1024x557.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-navigator-300x163.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-navigator-768x418.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-navigator-1200x652.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-navigator.png 1429w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-925\" class=\"wp-caption-text\">Anaconda Navigator<\/figcaption><\/figure>\n<p>Now click on &#8220;Launch&#8221; in the Jupyter box and the notebook will open in the browser window<\/p>\n<figure id=\"attachment_926\" aria-describedby=\"caption-attachment-926\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-926\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator-1024x422.png\" alt=\"Launch Jupyter - Anaconda Navigator\" width=\"840\" height=\"346\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator-1024x422.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator-300x124.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator-768x317.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator-1200x495.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter_icon_anaconda_navigator.png 1430w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-926\" class=\"wp-caption-text\">Launch Jupyter &#8211; Anaconda Navigator<\/figcaption><\/figure>\n<figure id=\"attachment_939\" aria-describedby=\"caption-attachment-939\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-939\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows-1024x297.png\" alt=\"Jupyter Notebook\" width=\"840\" height=\"244\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows-1024x297.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows-300x87.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows-768x223.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows-1200x348.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Jupyter-on_windows.png 1379w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-939\" class=\"wp-caption-text\">Jupyter Notebook<\/figcaption><\/figure>\n<p>We can also open a notebook from the command line. Search for &#8220;Anaconda Prompt&#8221; in the programs and click on it.<\/p>\n<figure id=\"attachment_928\" aria-describedby=\"caption-attachment-928\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-928\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt-1024x552.png\" alt=\"Anaconda Prompt\" width=\"840\" height=\"453\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt-1024x552.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt-300x162.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt-768x414.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt-1200x646.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/Anaconda-Prompt.png 1437w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-928\" class=\"wp-caption-text\">Anaconda Prompt<\/figcaption><\/figure>\n<p>Anaconda prompt opens. Type &#8220;jupyter notebook&#8221; on the prompt and press enter to launch the notebook.<\/p>\n<figure id=\"attachment_929\" aria-describedby=\"caption-attachment-929\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"wp-image-929 size-large\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/jupyter-notebook-1024x518.png\" alt=\"Jupyter Notebook - Command Line\" width=\"840\" height=\"425\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-notebook-1024x518.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-notebook-300x152.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-notebook-768x388.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-notebook-1200x606.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/jupyter-notebook.png 1393w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-929\" class=\"wp-caption-text\">Jupyter Notebook &#8211; Command Line<\/figcaption><\/figure>\n<p>We can also install the libraries from the command line. For example, to install the library &#8216;pymysql&#8217; type below command, press enter, and the package will be installed<\/p>\n<pre class=\"lang:default decode:true \">conda install pymysql<\/pre>\n<figure id=\"attachment_930\" aria-describedby=\"caption-attachment-930\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img class=\"size-large wp-image-930\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/conda-install-1024x514.png\" alt=\"Conda Install\" width=\"840\" height=\"422\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/conda-install-1024x514.png 1024w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/conda-install-300x151.png 300w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/conda-install-768x385.png 768w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/conda-install-1200x602.png 1200w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/conda-install.png 1409w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-930\" class=\"wp-caption-text\">Conda Install pymysql<\/figcaption><\/figure>\n<h2>2.2 Installation on Mac OS<\/h2>\n<p>Download Python 3.6, 64-bit graphical installer from <a href=\"https:\/\/www.anaconda.com\/download\/#macos\" target=\"_blank\" rel=\"noopener\">here<\/a> and install it. Choose &#8220;install for this user only&#8221; during the setup process. After the installation open &#8220;anaconda-Navigator&#8221; and click on &#8220;Launch&#8221; under Jupyter to launch notebook.<\/p>\n<p>To access anaconda using command line, search for anaconda and click on &#8220;anaconda&#8221; which is UNIX executable<\/p>\n<figure id=\"attachment_940\" aria-describedby=\"caption-attachment-940\" style=\"width: 678px\" class=\"wp-caption aligncenter\"><img class=\"wp-image-940 size-full\" src=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/anaconda-command-line-mac-1.png\" alt=\"Anaconda Command Line Mac\" width=\"678\" height=\"432\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-command-line-mac-1.png 678w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2017\/10\/anaconda-command-line-mac-1-300x191.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption id=\"caption-attachment-940\" class=\"wp-caption-text\">Anaconda Command Line Mac<\/figcaption><\/figure>\n<h2>2.3 Installation on Linux<\/h2>\n<p>Download the Python 3.6, 64 bit command line installer from <a href=\"https:\/\/www.anaconda.com\/download\/#linux\" target=\"_blank\" rel=\"noopener\">here<\/a><\/p>\n<p>Now give the execute permission to .sh file and run it. Type below commands<\/p>\n<pre class=\"lang:sh decode:true \">chmod +x Anaconda2-5.0.1-Linux-x86_64.sh\r\n.\/Anaconda2-5.0.1-Linux-x86_64.sh<\/pre>\n<p>Anaconda will be installed in ~\/anaconda3 directory. Go to anaconda3 directory and launch the notebook. Type below commands<\/p>\n<pre class=\"lang:sh decode:true \">cd ~\/anaconda3\r\njupyter notebook<\/pre>\n<h2>Download MNIST dataset<\/h2>\n<pre class=\"lang:python decode:true \"># You have to run this code just once in Jupyter notebook in Python 3 kernel\r\nfrom sklearn.datasets import fetch_mldata\r\nmnist = fetch_mldata('MNIST original')<\/pre>\n<p>Hope this guide helps you in setting up your environment for the hands-on practical during the course.<\/p>\n<p>See you in the course and happy learning!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we will learn how to configure tools required for CloudxLab&#8217;s\u00a0Python for Machine Learning course.\u00a0We will use Python 3 and Jupyter notebooks for hands-on practicals in the course. Jupyter notebooks provide a really good user interface to write code, equations, and visualizations. Please choose one of the options listed below for practicals during &hellip; <a href=\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Python Setup Using Anaconda For Machine Learning and Data Science Tools&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python Setup Using Anaconda for Machine Learning | CloudxLab Blog<\/title>\n<meta name=\"description\" content=\"This guide will help you configuring Python libraries for Machine Learning and Data Science in Windows, Mac, and Linux using Anaconda.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Setup Using Anaconda for Machine Learning | CloudxLab Blog\" \/>\n<meta property=\"og:description\" content=\"This guide will help you configuring Python libraries for Machine Learning and Data Science in Windows, Mac, and Linux using Anaconda.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudxLab Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cloudxlab\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-31T19:03:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-05T17:17:03+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1024x512.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CloudxLab\" \/>\n<meta name=\"twitter:site\" content=\"@CloudxLab\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"4 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"CloudxLab Blog\",\"description\":\"Learn AI, Machine Learning, Deep Learning, Devops &amp; Big Data\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/cloudxlab.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1024x512.png\",\"contentUrl\":\"http:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2017\/10\/scikit-learnpython-1024x512.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#webpage\",\"url\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/\",\"name\":\"Python Setup Using Anaconda for Machine Learning | CloudxLab Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#primaryimage\"},\"datePublished\":\"2017-10-31T19:03:58+00:00\",\"dateModified\":\"2017-12-05T17:17:03+00:00\",\"author\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/0efa3c54df68406de820ea466f002d3c\"},\"description\":\"This guide will help you configuring Python libraries for Machine Learning and Data Science in Windows, Mac, and Linux using Anaconda.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/python-setup-machine-learning-data-science-tools-using-anaconda\/#webpage\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/0efa3c54df68406de820ea466f002d3c\",\"name\":\"Abhinav Singh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fc74fe31169bf872f6ab11bbab621d53?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fc74fe31169bf872f6ab11bbab621d53?s=96&d=mm&r=g\",\"caption\":\"Abhinav Singh\"},\"sameAs\":[\"https:\/\/cloudxlab.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/903"}],"collection":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/comments?post=903"}],"version-history":[{"count":25,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/903\/revisions"}],"predecessor-version":[{"id":994,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/903\/revisions\/994"}],"wp:attachment":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/media?parent=903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/categories?post=903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/tags?post=903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}