

{"id":23571,"date":"2018-08-04T04:00:13","date_gmt":"2018-08-04T04:00:13","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=23571"},"modified":"2026-04-27T17:35:36","modified_gmt":"2026-04-27T12:05:36","slug":"python-machine-learning-environment-setup","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/","title":{"rendered":"Python Machine Learning Environment Setup &#8211; Installation Process"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:148,&quot;href&quot;:&quot;https:\\\/\\\/www.python.org\\\/downloads&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251205194542\\\/https:\\\/\\\/www.python.org\\\/downloads\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-06 12:20:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-10 11:23:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-13 16:31:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-17 03:30:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-20 19:51:21&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-24 03:02:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-27 05:22:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-30 07:25:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-02 17:56:07&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-06 01:59:21&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-09 08:55:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-12 11:40:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-15 16:59:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 06:47:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-22 09:03:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-25 09:10:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-29 05:13:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-01 06:29:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-04 06:53:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-07 07:44:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 08:55:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 01:23:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 10:44:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-20 16:20:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 17:40:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 13:09:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 14:22:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-05 22:46:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-09 06:21:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 07:35:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-15 23:03:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-19 04:17:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-22 06:22:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-25 06:45:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-29 15:13:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-01 16:22:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-05 14:00:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 02:56:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-12 15:35:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 00:53:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-19 05:57:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-22 06:25:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-26 06:37:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-29 08:44:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-02 13:20:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-05 15:36:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-09 07:21:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-12 09:04:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-15 11:00:40&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-18 11:37:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-21 12:06:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-25 05:54:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-28 06:21:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-31 08:57:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-03 09:18:57&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-03 09:18:57&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1830,&quot;href&quot;:&quot;https:\\\/\\\/www.anaconda.com\\\/download&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251208183307\\\/https:\\\/\\\/www.anaconda.com\\\/download&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 03:49:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-15 03:26:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-19 04:25:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-24 06:13:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-27 13:48:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-02 06:17:23&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-07 10:53:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-16 10:49:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-21 01:31:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-24 14:23:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-28 11:28:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-01 06:29:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-04 09:29:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 14:56:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-16 16:30:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 17:57:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 10:43:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 04:11:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 07:28:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 21:18:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-14 09:09:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-17 15:23:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-20 21:50:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-25 01:42:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-31 07:07:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-07 07:44:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-11 11:42:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 02:44:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 13:00:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-25 04:49:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-28 05:40:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-01 14:59:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-05 06:08:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-09 07:21:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-16 15:38:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-20 06:15:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-26 15:06:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-30 06:19:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-02 14:23:57&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-02 14:23:57&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1785,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250416015631\\\/https:\\\/\\\/en.wikipedia.org\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 00:03:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-13 04:52:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-18 05:07:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-21 13:23:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-26 12:22:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-31 12:10:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-07 10:52:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-13 14:47:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-17 21:08:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-21 01:31:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-27 02:58:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-30 07:54:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-04 03:22:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-07 14:25:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-12 11:42:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 04:43:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 19:05:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 10:43:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 17:43:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 16:38:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-11 08:19:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-14 09:10:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-17 09:14:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-22 14:56:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-25 14:58:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-28 18:42:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-01 15:37:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-07 13:44:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 03:18:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 15:29:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-25 04:48:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-28 11:51:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-06 07:05:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-15 00:12:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-19 10:24:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-24 04:01:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-27 05:04:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-01 09:30:57&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-01 09:30:57&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p><span style=\"font-weight: 400\">In this tutorial of Python<strong><a href=\"https:\/\/data-flair.training\/blogs\/machine-learning-tutorial\/\"> Machine Learning <\/a><\/strong>Environment Setup, we will show you the way with setting your machine up for a Machine Learning environment with<a href=\"https:\/\/data-flair.training\/blogs\/python-tutorial-for-beginners\/\"><strong> Python<\/strong><\/a>. Moreover, for Python Machine Learning installation, we will see the process to install Python and the needed Python Libraries such as NumPy, SciPy, Matplotlib etc.<\/span><\/p>\n<p>It is also highly important to have a proper environment configured in order to work on machine learning. When organizing your environment, everything runs smoothly, and as you name it, there are few conflicts with dependencies and libraries as well as making your work easy and efficient.<\/p>\n<p>The environment should also be kept organized especially considering a project may require one to adhere to different standards. One of the benefits is that you can keep separate virtual spaces for different projects eliminating the issues with dependencies and different versions.<\/p>\n<p>So, let&#8217;s start the Python Machine Learning Environment Setup.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23582 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01.jpg\" alt=\"Python Machine Learning Environment Setup\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Python-Machine-Learning-Environment-Setup-01-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<h3><strong>How to Install Python?<\/strong><\/h3>\n<p><span style=\"font-weight: 400\">Before anything else, you will need to install Python on your machine. So, here are the steps to install Python.\u00a0<\/span><\/p>\n<h4><strong>a. Plain download<\/strong><\/h4>\n<p><span style=\"font-weight: 400\">You can download from the official website-<\/span><br \/>\n<strong><a href=\"https:\/\/www.python.org\/downloads\/\">https:\/\/www.python.org\/downloads\/<\/a><\/strong><br \/>\n<span style=\"font-weight: 400\">At the time of writing, the latest version of Python is Python 3.7. This is what the installer looks like-<\/span><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/plain.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23583 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/plain.png\" alt=\"Python Machine Learning Environment Setup\" width=\"680\" height=\"422\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/plain.png 680w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/plain-150x93.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/plain-300x186.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">For a detailed guide on how to set up Python for your machine, read up on <\/span><strong><a href=\"https:\/\/data-flair.training\/blogs\/install-python-windows\/\">A Step-by-Step Guide to Install Python for Windows<\/a><\/strong><span style=\"font-weight: 400\">.<\/span><\/p>\n<h4><strong>b. Installing with Anaconda<\/strong><\/h4>\n<p><span style=\"font-weight: 400\">Or you can install it with Anaconda-<\/span><br \/>\n<strong><a href=\"https:\/\/www.anaconda.com\/download\/\">https:\/\/www.anaconda.com\/download\/<\/a><\/strong><br \/>\n<span style=\"font-weight: 400\">This downloads Anaconda for us. Now to install it, we run the installer-<\/span><\/p>\n<div id=\"attachment_23586\" style=\"width: 526px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23586\" class=\"wp-image-23586 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup.png\" alt=\"Python Machine Learning Environment Setup\" width=\"516\" height=\"402\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup.png 516w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup-150x117.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup-300x234.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-23586\" class=\"wp-caption-text\">Installing With Anaconda<\/p><\/div>\n<div id=\"attachment_23591\" style=\"width: 524px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23591\" class=\"wp-image-23591 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup2.png\" alt=\"Python Machine Learning Environment Setup\" width=\"514\" height=\"400\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup2.png 514w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup2-150x117.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup2-300x233.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/a><p id=\"caption-attachment-23591\" class=\"wp-caption-text\">Installing With Anaconda<\/p><\/div>\n<div id=\"attachment_23593\" style=\"width: 524px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23593\" class=\"wp-image-23593 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup3.png\" alt=\"Python Machine Learning Environment Setup\" width=\"514\" height=\"398\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup3.png 514w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup3-150x116.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup3-300x232.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/a><p id=\"caption-attachment-23593\" class=\"wp-caption-text\">Installing With Anaconda<\/p><\/div>\n<div id=\"attachment_23595\" style=\"width: 525px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup4.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23595\" class=\"wp-image-23595 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup4.png\" alt=\"Python Machine Learning Environment Setup\" width=\"515\" height=\"402\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup4.png 515w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup4-150x117.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup4-300x234.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><p id=\"caption-attachment-23595\" class=\"wp-caption-text\">Python Machine Learning Environment Setup<\/p><\/div>\n<p><span style=\"font-weight: 400\">And for the final options-<\/span><\/p>\n<div id=\"attachment_23599\" style=\"width: 526px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup5.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23599\" class=\"wp-image-23599 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup5.png\" alt=\"Python Machine Learning Environment Setup\" width=\"516\" height=\"400\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup5.png 516w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup5-150x116.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup5-300x233.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-23599\" class=\"wp-caption-text\">Installing Anaconda<\/p><\/div>\n<p><span style=\"font-weight: 400\">And then, it installs Anaconda-<\/span><\/p>\n<div id=\"attachment_23601\" style=\"width: 524px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup6.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23601\" class=\"wp-image-23601 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup6.png\" alt=\"Python Machine Learning Environment Setup\" width=\"514\" height=\"399\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup6.png 514w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup6-150x116.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/setup6-300x233.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/a><p id=\"caption-attachment-23601\" class=\"wp-caption-text\">Installing Anaconda<\/p><\/div>\n<h3><span style=\"font-weight: 400\">Starting and Updating Anaconda<\/span><\/h3>\n<p><span style=\"font-weight: 400\">To confirm that your Anaconda environment is up to date, follow these steps-<\/span><\/p>\n<p>1. Open Anaconda Prompt and type the following-<\/p>\n<pre class=\"EnlighterJSRAW\">(base) C:\\Users\\Ayushi&gt;conda -V<\/pre>\n<p><strong>conda 4.5.8<\/strong><\/p>\n<p>2. Now the following command tells you about your Python environment-<\/p>\n<pre class=\"EnlighterJSRAW\">(base) C:\\Users\\Ayushi&gt;python -V<\/pre>\n<p><strong>Python 3.6.5 :: Anaconda, Inc<\/strong><\/p>\n<p>3. Then, to confirm that the conda environment you hold is up to date-<br \/>\n<strong><a href=\"https:\/\/data-flair.training\/blogs\/future-of-machine-learning\/\">Have a look at the future of Machine Learning<\/a><\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(base) C:\\Users\\Ayushi&gt;conda update conda<\/pre>\n<p><strong>Solving environment: done<\/strong><br \/>\n<strong># All requested packages already installed.<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\">(base) C:\\Users\\Ayushi&gt;conda update anaconda<\/pre>\n<p><strong>Solving environment: done<\/strong><br \/>\n<strong># All requested packages already installed.<\/strong><\/p>\n<h3><strong>Installing Needed Python Libraries<\/strong><\/h3>\n<p><span style=\"font-weight: 400\">Working with machine learning, we will\u00a0<span style=\"margin: 0px;padding: 0px\">often need a few\u00a0<a href=\"https:\/\/data-flair.training\/blogs\/python-library\/\" target=\"_blank\" rel=\"noopener\"><strong>Python libraries<\/strong><\/a><\/span>. Here\u2019s a list of some of those-<\/span><\/p>\n<h4><strong>a. NumPy in Python<\/strong><\/h4>\n<div id=\"attachment_23602\" style=\"width: 2592px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23602\" class=\"wp-image-23602 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy.png\" alt=\"Python Machine Learning Environment Setup\" width=\"2582\" height=\"1024\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy.png 2582w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy-150x59.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy-300x119.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy-768x305.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/NumPy-1024x406.png 1024w\" sizes=\"auto, (max-width: 2582px) 100vw, 2582px\" \/><\/a><p id=\"caption-attachment-23602\" class=\"wp-caption-text\">Python Libraries &#8211; NumPy<\/p><\/div>\n<p><span style=\"font-weight: 400\"><strong><a href=\"https:\/\/data-flair.training\/blogs\/python-numpy-tutorial\/\">NumPy<\/a> is<\/strong>\u00a0a Python library that lets you handle multi-dimensional <strong><a href=\"https:\/\/data-flair.training\/blogs\/python-array-module\/\">arrays<\/a><\/strong> and matrices. It also offers multiple high-level mathematical functions to operate on these.<\/span><br \/>\n<span style=\"font-weight: 400\">You can install it as-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install numpy<\/pre>\n<h4><strong>b. SciPy in Python<\/strong><\/h4>\n<div id=\"attachment_23603\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23603\" class=\"wp-image-23603 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1.png\" alt=\"Python Machine Learning Environment Setup\" width=\"1000\" height=\"267\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1.png 1000w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1-150x40.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1-300x80.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scipy-1-768x205.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-23603\" class=\"wp-caption-text\">Python Libraries &#8211; SciPy<\/p><\/div>\n<p><span style=\"font-weight: 400\"><strong><a href=\"https:\/\/data-flair.training\/blogs\/scipy-tutorial\/\">SciPy<\/a><\/strong> is a scientific and technical computing Python library that is free and open-source. Install it as-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install scipy<\/pre>\n<h4><strong>c. Matplotlib in Python<\/strong><\/h4>\n<div id=\"attachment_23604\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/matplotlib-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23604\" class=\"wp-image-23604 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/matplotlib-1.png\" alt=\"Python Machine Learning Environment Setup\" width=\"542\" height=\"130\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/matplotlib-1.png 542w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/matplotlib-1-150x36.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/matplotlib-1-300x72.png 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/a><p id=\"caption-attachment-23604\" class=\"wp-caption-text\">Python Library &#8211; Matplotlib<\/p><\/div>\n<p><span style=\"font-weight: 400\"><strong><a href=\"https:\/\/data-flair.training\/blogs\/python-matplotlib-tutorial\/\">Matplotlib<\/a><\/strong>,<strong>\u00a0<\/strong>a Python library for plotting, and it has NumPy as its numerical mathematics extension. Install it as-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install matplotlib<\/pre>\n<h4><strong>d. Python pandas<\/strong><\/h4>\n<div id=\"attachment_23605\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/pandas-2-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23605\" class=\"wp-image-23605 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/pandas-2-1.png\" alt=\"Python Machine Learning Environment Setup\" width=\"600\" height=\"125\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/pandas-2-1.png 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/pandas-2-1-150x31.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/pandas-2-1-300x63.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-23605\" class=\"wp-caption-text\">Python Library &#8211; Pandas<\/p><\/div>\n<p><span style=\"font-weight: 400\"><a href=\"https:\/\/data-flair.training\/blogs\/python-tutorial\/\"><strong>pandas<\/strong><\/a> is a software library for Python that comes in handy when working with data manipulation and analysis. Install it with the following command-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install pandas<\/pre>\n<p><strong>e. statsmodels<\/strong><\/p>\n<div id=\"attachment_23606\" style=\"width: 427px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/statsmodels.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23606\" class=\"wp-image-23606 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/statsmodels.png\" alt=\"Python Machine Learning Environment Setup\" width=\"417\" height=\"85\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/statsmodels.png 417w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/statsmodels-150x31.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/statsmodels-300x61.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><p id=\"caption-attachment-23606\" class=\"wp-caption-text\">Python Library &#8211; StatsModels<\/p><\/div>\n<p><span style=\"font-weight: 400\">This is a <a href=\"https:\/\/data-flair.training\/blogs\/python-packages\/\"><strong>Python package<\/strong><\/a> that lets users explore data, estimate statistical models, and carry out statistical tests. You can install it as-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install statsmodels<\/pre>\n<h4><strong>f. seaborn<\/strong><\/h4>\n<div id=\"attachment_23608\" style=\"width: 284px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/seaborn.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23608\" class=\"wp-image-23608 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/seaborn.png\" alt=\"Python Machine Learning Environment Setup\" width=\"274\" height=\"141\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/seaborn.png 274w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/seaborn-150x77.png 150w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><p id=\"caption-attachment-23608\" class=\"wp-caption-text\">Python Library &#8211; Seaborn<\/p><\/div>\n<p><span style=\"font-weight: 400\">This is a Python library for data visualization and is based on Matplotlib. It offers a high-level interface for plotting statistical graphs that are attractive and informative.<\/span><\/p>\n<p><strong>Categories of plot in seaborn:<\/strong><\/p>\n<ul>\n<li>Relational plot<\/li>\n<li>Categorical plot<\/li>\n<li>Distribution plot<\/li>\n<li>Regression plot<\/li>\n<li>Matrix plot<\/li>\n<li>Multi-plot graph<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\"> You can install it with the following command-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">conda install seaborn<\/pre>\n<h4><strong>g. scikit-learn in Python<\/strong><\/h4>\n<div id=\"attachment_23609\" style=\"width: 287px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scikit-learn-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23609\" class=\"wp-image-23609 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scikit-learn-1.png\" alt=\"Python Machine Learning Environment Setup\" width=\"277\" height=\"150\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scikit-learn-1.png 277w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/scikit-learn-1-150x81.png 150w\" sizes=\"auto, (max-width: 277px) 100vw, 277px\" \/><\/a><p id=\"caption-attachment-23609\" class=\"wp-caption-text\">Python Library &#8211; Scikiy Learn<\/p><\/div>\n<p><span style=\"font-weight: 400\">This is a free software ML library for Python. It offers facilities like classification, regression, and clustering algorithms.<\/span><br \/>\n<strong><a href=\"https:\/\/data-flair.training\/blogs\/machine-learning-algorithm\/\">Let&#8217;s discuss Machine Learning Algorithms<\/a><\/strong><br \/>\n<span style=\"font-weight: 400\">To find out which version of a library you\u2019re using, you can run the following piece of code in the interpreter-<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; import scipy\r\n&gt;&gt;&gt; scipy.__version__<\/pre>\n<p><strong>&#8216;1.1.0&#8217;<\/strong><\/p>\n<p>The command to install scikit-learn is conda install scikit-learn.<\/p>\n<p>So, this was all in the Python Machine Learning Environment Setup. Hope you like our explanation.<\/p>\n<h3><strong>Conclusion<\/strong><\/h3>\n<p><span style=\"font-weight: 400\">Hence, in this Python Machine Learning Environment Setup, we discussed how to install Python. Moreover, we saw the start-up and updating of Anaconda. Also, in this Python Machine Learning Environment Setup, we learned about the need for libraries. <\/span><\/p>\n<p><span style=\"font-weight: 400\">If you follow all the steps mentioned above, you will successfully set up a machine learning environment for Python at a beginner level. Still, if any doubt regarding the Python Machine Learning Environment Setup, ask in the comments tab. We will definitely get back to you.<\/span><\/p>\n<p><strong>See also &#8211;\u00a0<\/strong><br \/>\n<strong><a href=\"https:\/\/data-flair.training\/blogs\/python-web-framework\/\">Python Web Framework\u00a0<\/a><\/strong><br \/>\n<a href=\"https:\/\/en.wikipedia.org\/\"><strong>For reference<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial of Python Machine Learning Environment Setup, we will show you the way with setting your machine up for a Machine Learning environment with Python. Moreover, for Python Machine Learning installation, we&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":24884,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,46],"tags":[676,6813,6818,6819,6826,10638,10671,13749,13809],"class_list":["post-23571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-machine-learning","category-python","tag-anaconda-machine-learning-tutorial","tag-installing-anaconda","tag-installing-needed-libraries","tag-installing-python","tag-installing-with-anaconda","tag-python-libraries","tag-python-machine-learning-installation","tag-starting-and-updating-anaconda","tag-statsmodels"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Machine Learning Environment Setup - Installation Process - DataFlair<\/title>\n<meta name=\"description\" content=\"Python machine Learning Environment setup,installing Python,Anaconda install,starting and updating Anaconda,installing Python libraries,NumPy, SciPy\" \/>\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\/python-machine-learning-environment-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Machine Learning Environment Setup - Installation Process - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Python machine Learning Environment setup,installing Python,Anaconda install,starting and updating Anaconda,installing Python libraries,NumPy, SciPy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/\" \/>\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-08-04T04:00:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-27T12:05:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-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=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Machine Learning Environment Setup - Installation Process - DataFlair","description":"Python machine Learning Environment setup,installing Python,Anaconda install,starting and updating Anaconda,installing Python libraries,NumPy, SciPy","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\/python-machine-learning-environment-setup\/","og_locale":"en_US","og_type":"article","og_title":"Python Machine Learning Environment Setup - Installation Process - DataFlair","og_description":"Python machine Learning Environment setup,installing Python,Anaconda install,starting and updating Anaconda,installing Python libraries,NumPy, SciPy","og_url":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-08-04T04:00:13+00:00","article_modified_time":"2026-04-27T12:05:36+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-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":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Python Machine Learning Environment Setup &#8211; Installation Process","datePublished":"2018-08-04T04:00:13+00:00","dateModified":"2026-04-27T12:05:36+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/"},"wordCount":868,"commentCount":4,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-01-1.jpg","keywords":["Anaconda machine Learning tutorial","installing anaconda","Installing Needed Libraries","installing python","Installing with Anaconda","Python libraries","Python Machine Learning Installation","Starting and Updating Anaconda","statsmodels"],"articleSection":["Machine Learning Tutorials","Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/","url":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/","name":"Python Machine Learning Environment Setup - Installation Process - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-01-1.jpg","datePublished":"2018-08-04T04:00:13+00:00","dateModified":"2026-04-27T12:05:36+00:00","description":"Python machine Learning Environment setup,installing Python,Anaconda install,starting and updating Anaconda,installing Python libraries,NumPy, SciPy","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/08\/Python-Machine-Learning-Environment-Setup-01-1.jpg","width":1200,"height":628,"caption":"Python Machine Learning Environment Setup 2018"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-machine-learning-environment-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Machine Learning Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/machine-learning\/"},{"@type":"ListItem","position":3,"name":"Python Machine Learning Environment Setup &#8211; Installation Process"}]},{"@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\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/23571","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=23571"}],"version-history":[{"count":11,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/23571\/revisions"}],"predecessor-version":[{"id":147959,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/23571\/revisions\/147959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/24884"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=23571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=23571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=23571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}