{"id":87423,"date":"2022-12-26T09:39:40","date_gmt":"2022-12-26T04:09:40","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/"},"modified":"2025-06-11T00:25:17","modified_gmt":"2025-06-10T18:55:17","slug":"how-to-install-python","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/","title":{"rendered":"How to Install Python on Windows, MAC and Linux?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"what-is-python\">What is Python?<\/h2>\n\n\n\n<p>Python is a high-level, interpreted programming language. It supports multiple programming paradigms. It includes object-oriented, imperative, and functional programming. You use it for web development, data analysis, artificial intelligence, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-install-python-on-windows\">How to Install Python on Windows<\/h2>\n\n\n\n<p>Installing Python on Windows is straightforward. Follow these steps to get Python running.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-download-the-python-installer\">Step 1: Download the Python Installer<\/h3>\n\n\n\n<p>First, get the Python installer.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the official Python website: <a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">python.org<\/a>.<\/li>\n\n\n\n<li>Click the \"Download Python [version number]\" button. Choose the latest stable release. It will download an executable file, like <code>python-3.10.4-amd64.exe<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-run-the-installer\">Step 2: Run the Installer<\/h3>\n\n\n\n<p>Now, run the downloaded file.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double-click the <code>.exe<\/code> file you downloaded.<\/li>\n\n\n\n<li>A new window appears. Check the box that says \"Add Python [version number] to PATH.\" This is important. It lets you run Python from the command prompt.<\/li>\n\n\n\n<li>Click \"Install Now.\"<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-verify-the-installation\">Step 3: Verify the Installation<\/h3>\n\n\n\n<p>After installation, check if Python works.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the Command Prompt. Type <code>cmd<\/code> in the Windows search bar and press Enter.<\/li>\n\n\n\n<li>In the Command Prompt, type <code>python --version<\/code>.<\/li>\n\n\n\n<li>Press Enter. You should see the Python version number. For example, <code>Python 3.10.4<\/code>.<\/li>\n<\/ul>\n\n\n\n<p>This confirms Python is installed correctly.<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-title-link\">Python Programming Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">In this course, you will learn the fundamentals of Python: from basic syntax to mastering data structures, loops, and functions. You will also explore OOP concepts and objects to build robust programs.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>11.5 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>51 Coding Exercises<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-button\">\n                Start Free Trial\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-install-python-on-mac\">How to Install Python on Mac<\/h2>\n\n\n\n<p>Installing Python on Mac is simple. Follow these steps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-download-the-python-installer\">Step 1: Download the Python Installer<\/h3>\n\n\n\n<p>First, download the Python installer for macOS.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the official Python website: <a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">python.org<\/a>.<\/li>\n\n\n\n<li>Click the \"Download Python [version number]\" button. Choose the latest stable release. This downloads a <code>.pkg<\/code> file.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-run-the-installer\">Step 2: Run the Installer<\/h3>\n\n\n\n<p>Next, run the installer.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double-click the <code>.pkg<\/code> file you downloaded.<\/li>\n\n\n\n<li>Follow the on-screen instructions. Accept the license agreement. Choose the installation location.<\/li>\n\n\n\n<li>Click \"Install.\"<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-verify-the-installation\">Step 3: Verify the Installation<\/h3>\n\n\n\n<p>Check your Python installation.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the Terminal. You can find it in Applications &gt; Utilities &gt; Terminal.<\/li>\n\n\n\n<li>In the Terminal, type <code>python3 --version<\/code>.<\/li>\n\n\n\n<li>Press Enter. You should see the Python version number. For example, <code>Python 3.10.4<\/code>.<\/li>\n<\/ul>\n\n\n\n<p>This means Python is ready to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-install-python-on-linux\">How to Install Python on Linux<\/h2>\n\n\n\n<p>Linux distributions often come with Python pre-installed. However, it might be an older version. It's best to install the latest version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-update-your-system\">Step 1: Update Your System<\/h3>\n\n\n\n<p>Before installing, update your package list.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open a terminal. You can usually find it in your applications menu.<\/li>\n\n\n\n<li>For Debian\/Ubuntu-based systems, type:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt update\nsudo apt upgrade\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>For Fedora\/RHEL-based systems, type:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo dnf update\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-install-necessary-dependencies\">Step 2: Install Necessary Dependencies<\/h3>\n\n\n\n<p>You need some packages before building Python from source.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Debian\/Ubuntu-based systems, type:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt install build-essential zlib1g-dev libncursesg-dev libgdbm-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>For Fedora\/RHEL-based systems, type:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo dnf install @development-tools zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libuuid-devel gdbm-devel xz-devel\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-download-python-source-code\">Step 3: Download Python Source Code<\/h3>\n\n\n\n<p>Download the Python source code.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the official Python website: <a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">python.org<\/a>.<\/li>\n\n\n\n<li>Find the latest stable release. Copy the link to the <code>.tgz<\/code> file.<\/li>\n\n\n\n<li>In your terminal, use <code>wget<\/code> to download it. For example:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwget https:\/\/www.python.org\/ftp\/python\/3.10.4\/Python-3.10.4.tgz\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Extract the downloaded file:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntar -xf Python-3.10.4.tgz\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"step-4-compile-and-install-python\">Step 4: Compile and Install Python<\/h3>\n\n\n\n<p>Now, compile Python from the source.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate into the extracted directory:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncd Python-3.10.4\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Configure the build process:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n.\/configure --enable-optimizations\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Compile Python. This can take a few minutes:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmake -j $(nproc)\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Install Python. Use <code>altinstall<\/code> to avoid overwriting the system's default Python:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo make altinstall\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"step-5-verify-the-installation\">Step 5: Verify the Installation<\/h3>\n\n\n\n<p>Check if Python is installed.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the terminal, type <code>python3.10 --version<\/code>.<\/li>\n\n\n\n<li>Press Enter. You should see <code>Python 3.10.4<\/code>.<\/li>\n<\/ul>\n\n\n\n<p>This confirms your new Python installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"next-steps\">Next Steps<\/h2>\n\n\n\n<p>Now that Python is installed, you can start coding.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Try running a simple Python script. Create a file named <code>hello.py<\/code> with this code:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nprint(&quot;Hello, Python!&quot;)\n<\/pre><\/div>\n\n\n<p>Save the file. Then, open your terminal or command prompt, navigate to where you saved the file, and run:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>python hello.py<\/code> (on Windows)<\/li>\n\n\n\n<li><code>python3 hello.py<\/code> (on macOS)<\/li>\n\n\n\n<li><code>python3.10 hello.py<\/code> (on Linux)<\/li>\n<\/ul>\n\n\n\n<p>You will see \"Hello, Python!\" printed.<\/p>\n\n\n\n<p>Try here, <a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-compiler-tool\/\">Python Compiler Tool<\/a><\/p>\n\n\n\n<p>Having Python on your computer is an amazing start, but the secret to becoming a confident coder is a solid foundation. If you're ready to move past the setup and actually start building your own tools, join our Free Python Course. It\u2019s the easiest way for absolute beginners to go from zero experience to a confident coder with a clear path to follow.<\/p>\n\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Free Course<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/python-fundamentals-for-beginners\" class=\"courses-cta-title-link\">Python Fundamentals for Beginners Free Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Master Python basics, from variables to data structures and control flow. Solve real-time problems and build practical skills using Jupyter Notebook.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>13.5 hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>4.55<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/python-fundamentals-for-beginners\" class=\"courses-cta-button\">\n                Enroll for Free\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Python? Python is a high-level, interpreted programming language. It supports multiple programming paradigms. It includes object-oriented, imperative, and functional programming. You use it for web development, data analysis, artificial intelligence, and more. How to Install Python on Windows Installing Python on Windows is straightforward. Follow these steps to get Python running. Step 1: [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":87563,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25860],"tags":[36796],"content_type":[36252],"class_list":["post-87423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-python","content_type-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Python on Windows, MAC and Linux?<\/title>\n<meta name=\"description\" content=\"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Python on Windows, MAC and Linux?\" \/>\n<meta property=\"og:description\" content=\"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-26T04:09:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T18:55:17+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1368\" \/>\n\t<meta property=\"og:image:height\" content=\"766\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"How to Install Python on Windows, MAC and Linux?\",\"datePublished\":\"2022-12-26T04:09:40+00:00\",\"dateModified\":\"2025-06-10T18:55:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/\"},\"wordCount\":630,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/iStock-1319468212-2.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/\",\"name\":\"How to Install Python on Windows, MAC and Linux?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/iStock-1319468212-2.jpg\",\"datePublished\":\"2022-12-26T04:09:40+00:00\",\"dateModified\":\"2025-06-10T18:55:17+00:00\",\"description\":\"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/iStock-1319468212-2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/iStock-1319468212-2.jpg\",\"width\":1368,\"height\":766,\"caption\":\"Python code, web development, coding and programming of a site or application on laptop 3d\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/how-to-install-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install Python on Windows, MAC and Linux?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Python on Windows, MAC and Linux?","description":"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.","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:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Python on Windows, MAC and Linux?","og_description":"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2022-12-26T04:09:40+00:00","article_modified_time":"2025-06-10T18:55:17+00:00","og_image":[{"width":1368,"height":766,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"How to Install Python on Windows, MAC and Linux?","datePublished":"2022-12-26T04:09:40+00:00","dateModified":"2025-06-10T18:55:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/"},"wordCount":630,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg","keywords":["python"],"articleSection":["IT\/Software Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/","url":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/","name":"How to Install Python on Windows, MAC and Linux?","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg","datePublished":"2022-12-26T04:09:40+00:00","dateModified":"2025-06-10T18:55:17+00:00","description":"Follow these steps to install Python in the system and install additional packages or libraries of Python by using package manager.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg","width":1368,"height":766,"caption":"Python code, web development, coding and programming of a site or application on laptop 3d"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"How to Install Python on Windows, MAC and Linux?"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg",1368,766,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-300x168.jpg",300,168,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-768x430.jpg",768,430,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-1024x573.jpg",1024,573,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg",1368,766,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2.jpg",1368,766,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-640x766.jpg",640,766,true],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-96x96.jpg",96,96,true],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/12\/iStock-1319468212-2-150x84.jpg",150,84,true]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"What is Python? Python is a high-level, interpreted programming language. It supports multiple programming paradigms. It includes object-oriented, imperative, and functional programming. You use it for web development, data analysis, artificial intelligence, and more. How to Install Python on Windows Installing Python on Windows is straightforward. Follow these steps to get Python running. Step 1:&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/87423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=87423"}],"version-history":[{"count":17,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/87423\/revisions"}],"predecessor-version":[{"id":110038,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/87423\/revisions\/110038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/87563"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=87423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=87423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=87423"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=87423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}