{"id":57314,"date":"2020-07-21T17:00:45","date_gmt":"2020-07-21T21:00:45","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=57314"},"modified":"2021-10-21T11:29:14","modified_gmt":"2021-10-21T15:29:14","slug":"how-to-install-pip","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/","title":{"rendered":"How to Install PIP"},"content":{"rendered":"\n<p><strong>PIP (Python Installs Packages)<\/strong> is a package management system designed to install and manage software packages written in the Python language. While most installations of Python come preinstalled, it may sometimes be necessary to manually install PIP on your machine. PIP can be installed on all major operating systems, including most varieties of Linux distributions. In this guide, we will outline how to install and test PIP on both CentOS, Ubuntu, and Windows 10 machines.&nbsp;If you are using Linux, you will first need to <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/connect-ssh\/\">login via SSH<\/a>. <br><br>Topics Include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#centos\">Installing PIP on CentOS<\/a><\/li><li><a href=\"#ubuntu\">Installing PIP on Ubuntu<\/a><\/li><li><a href=\"#windows\">Installing PIP on Windows 10<\/a><\/li><\/ul>\n\n\n\n<p class=\"alert alert-info\">Install PIP on your <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated Server<\/a> to start installing Python packages today!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"centos\">Installing PIP on CentOS<\/h2>\n\n\n\n<p>To install PIP on CentOS 7, we will be making use of the YUM package manager.&nbsp;<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Before installing PIP, you have to first <strong>add the EPEL Repo<\/strong>:&nbsp;<br><\/li><li>Next, you will want to <strong>update<\/strong> your machine:<br><br><pre>yum -y update<\/pre><br><\/li><li>Next, <strong>install PIP<\/strong> using the following command:<br><br><pre>yum -y install python-pip<\/pre><br><\/li><li>Now that we have PIP installed, we can use a few simple commands to test if the installation was successful:<br><br>For a <strong>list of commands<\/strong> available in PIP:<br><br><pre>pip --help<\/pre><br><br>To <strong>check the version<\/strong> number of PIP:<br><br><pre>pip -v&nbsp;<\/pre><br><\/li><\/ol>\n\n\n\n<p>Congratulations, you have installed PIP on CentOS!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ubuntu\">Installing PIP on Ubuntu<\/h2>\n\n\n\n<p>To install PIP on Ubuntu, we will use the apt package manager.&nbsp;&nbsp;<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First, <strong>update<\/strong> your Ubuntu machine:<br><br><pre>sudo apt update<\/pre><br><\/li><li>Next, <strong>install PIP<\/strong> with the following command:<br><br><pre>sudo apt install python-pip<\/pre><br><\/li><li>To ensure that the installation was successful, run the following command:<br><br><pre>pip --version<\/pre><br><\/li><\/ol>\n\n\n\n<p>Congratulations, you have installed PIP on Ubuntu!&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"windows\">Installing PIP on Windows 10&nbsp;<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First, open <strong>Command Prompt<\/strong>.<\/li><li>Next, <strong>check if Python is installed<\/strong> on your machine with the following command:<br><br><pre>python<\/pre><br><\/li><li>Then <strong>download the PIP .py file<\/strong> from the Python Package Authority (PYPA):<br><br>https:\/\/bootstrap.pypa.io\/get-pip.py<br><br><\/li><li><strong>Install PIP<\/strong> using the following command:<br><br><pre>python get-pip.py<\/pre><br><\/li><li>Then, <strong>verify the installation<\/strong> with the following command:<br><br><pre>pip help<\/pre><br><br>If the installation was successful, you should see something like the following output:<br><br><code>pip 18.0 from c:\\users\\path\\to\\pip<\/code><br><\/li><\/ol>\n\n\n\n<p>Congratulations, you have installed PIP on Windows 10!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PIP (Python Installs Packages) is a package management system designed to install and manage software packages written in the Python language. While most installations of Python come preinstalled, it may sometimes be necessary to manually install PIP on your machine. PIP can be installed on all major operating systems, including most varieties of Linux distributions.<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4360],"tags":[],"class_list":["post-57314","post","type-post","status-publish","format-standard","hentry","category-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install PIP | InMotion Hosting Support Center<\/title>\n<meta name=\"description\" content=\"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.\" \/>\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.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PIP | InMotion Hosting Support Center\" \/>\n<meta property=\"og:description\" content=\"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-21T21:00:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-21T15:29:14+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install PIP\",\"datePublished\":\"2020-07-21T21:00:45+00:00\",\"dateModified\":\"2021-10-21T15:29:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\"},\"wordCount\":330,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\",\"name\":\"How to Install PIP | InMotion Hosting Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2020-07-21T21:00:45+00:00\",\"dateModified\":\"2021-10-21T15:29:14+00:00\",\"description\":\"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PIP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install PIP | InMotion Hosting Support Center","description":"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.","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.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/","og_locale":"en_US","og_type":"article","og_title":"How to Install PIP | InMotion Hosting Support Center","og_description":"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-07-21T21:00:45+00:00","article_modified_time":"2021-10-21T15:29:14+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install PIP","datePublished":"2020-07-21T21:00:45+00:00","dateModified":"2021-10-21T15:29:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/"},"wordCount":330,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/","name":"How to Install PIP | InMotion Hosting Support Center","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2020-07-21T21:00:45+00:00","dateModified":"2021-10-21T15:29:14+00:00","description":"In this guide, we will outline how to install PIP on CentOS, Ubuntu, and Windows 10 for use in Python package installation and management.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/software\/how-to-install-pip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install PIP"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/57314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=57314"}],"version-history":[{"count":17,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/57314\/revisions"}],"predecessor-version":[{"id":90041,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/57314\/revisions\/90041"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=57314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=57314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=57314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}