{"id":32688,"date":"2020-10-19T12:45:28","date_gmt":"2020-10-19T17:45:28","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=32688"},"modified":"2022-06-03T03:32:35","modified_gmt":"2022-06-03T08:32:35","slug":"how-to-install-pip-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/","title":{"rendered":"How to Install pip on Ubuntu 20.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg\" alt=\"install pip python ubuntu 20.04\" class=\"wp-image-34573\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>In this article, we will talk about how to install pip on <a rel=\"noopener noreferrer\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\">Ubuntu 20.04<\/a>. To begin, we&#8217;ll need to clarify what pip actually is. <code>Pip<\/code> is a package manager for Python. It&#8217;s normally used to install and manage Python modules on your system.<\/p>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignright size-large\"><img decoding=\"async\" width=\"150\" height=\"112\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/installing-pip-on-ubuntu-20-04.jpg\" alt=\"installing pip on ubuntu 20.04\" class=\"wp-image-34648\"\/><\/figure><\/div>\n\n\n\n<p>In case Python is new to you as well, Python is a high-level object-oriented programming language that is becoming increasingly popular over the years. Python is widely used in software development, system administration, scientific and numeric data analysis, and much more.<\/p>\n\n\n\n<p>Both Python 2 or Python 3 can be installed on Ubuntu 20.04. However, with Ubuntu 20.04, the default version is Python 3. If for some reason you need Python 2 along with its version of pip, don&#8217;t worry, we&#8217;re covering that in this tutorial as well. <\/p>\n\n\n\n<p>Pip is not installed by default on Ubuntu &#8211; however, the installation is quite quick and simple. Let&#8217;s start with the installation. Installing pip on Ubuntu 20.04 is a fairly easy task and it should be done in less than 10 minutes.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69eca745be2b0\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69eca745be2b0\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#Getting-Started\" >Getting Started<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#Install-pip-for-Python-3\" >Install pip for Python 3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#Install-PiP-for-Python-2-optional\" >Install PiP for Python 2 (optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#How-to-Use-pip3\" >How to Use pip3<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-getting-started\"><span class=\"ez-toc-section\" id=\"Getting-Started\"><\/span>Getting Started<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, you need to login to your Ubuntu 20.04 VPS via SSH as the root user account, or as a user with sudo privileges:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@Server_IP_Address -p Port_Number<\/pre>\n\n\n\n<p>Of course, you will need to replace <code>Server_IP_Address<\/code> and <code>Port_Number<\/code> with your actual server IP address and SSH port number.<\/p>\n\n\n\n<p>By running the following command, all installed packages will be updated and upgraded:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update &amp;&amp; apt upgrade -y<\/pre>\n\n\n\n<p>You can also restart your server to ensure that all of the latest configuration files get read and used.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"742\" height=\"89\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-pip-ubuntu-20-04.jpg\" alt=\"install pip on ubuntu 20.04\" class=\"wp-image-34650\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-pip-ubuntu-20-04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-pip-ubuntu-20-04-300x36.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-pip-ubuntu-20-04-150x18.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-pip-for-python-3\"><span class=\"ez-toc-section\" id=\"Install-pip-for-Python-3\"><\/span>Install pip for Python 3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We assume that you already have the default Python version installed on your server. To check if Python 3 is already installed on your server, use the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3 -V<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@ubuntu20:~# python3 -V\nPython 3.8.2<\/pre>\n\n\n\n<p>Before proceeding with the installation of pip, it is a good idea to confirm whether pip is already installed on your server. You can do this with the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 -V<\/pre>\n\n\n\n<p>If you get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Command 'pip3' not found<\/pre>\n\n\n\n<p>This means that pip3 is not installed on your server. You can install pip3 by executing this next command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install python3-pip<\/pre>\n\n\n\n<p>By executing the above command, all of the dependencies required for pip will be installed along with PiP. When the installation is complete, you can validate the installed pip with the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 --version<\/pre>\n\n\n\n<p>You should have an output similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@ubuntu20:~# pip3 -V\npip 20.0.2 from \/usr\/lib\/python3\/dist-packages\/pip (python 3.8)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-pip-for-python-2-optional\"><span class=\"ez-toc-section\" id=\"Install-PiP-for-Python-2-optional\"><\/span>Install PiP for Python 2 (optional)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If for some reason you want to use Python 2 instead of the default Python 3 version, you can follow this section of the article.<\/p>\n\n\n\n<p>To install Python 2 you can run the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install python2<\/pre>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignright size-large\"><img decoding=\"async\" width=\"150\" height=\"112\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/ubuntu-20.04-install-pip.jpg\" alt=\"ubuntu 20.04 install pip\" class=\"wp-image-36720\"\/><\/figure><\/div>\n\n\n\n<p>Since PiP for Python2 is not available in the Ubuntu 20.04 repository, in this step we will use the <code>get-pip.py<\/code> script. Use the following command to download the <code>get-pip.py<\/code> script:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl https:\/\/bootstrap.pypa.io\/get-pip.py --output get-pip.py<\/pre>\n\n\n\n<p>Now you can execute the script with python2 to install pip for Python 2.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python2 get-pip.py<\/pre>\n\n\n\n<p>Once the installation is complete, you can verify the pip version with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip -V<\/pre>\n\n\n\n<p>If you get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@ubuntu20:~# pip -V\npip 20.1.1 from \/usr\/local\/lib\/python2.7\/dist-packages\/pip (python 2.7)<\/pre>\n\n\n\n<p>Then you have the correct version of pip installed for Python 2.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-pip3\"><span class=\"ez-toc-section\" id=\"How-to-Use-pip3\"><\/span>How to Use pip3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step of the article, we will show you a few useful basic pip commands. Now that pip is installed, you can try to use it.<\/p>\n\n\n\n<p>The basic syntax for pip3 is the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 &lt;command&gt; [options]<\/pre>\n\n\n\n<p>The following examples are the most commonly used pip3 commands.<\/p>\n\n\n\n<p>If you want to install a package:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 install package_name<\/pre>\n\n\n\n<p>You can list all installed packages:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 list<\/pre>\n\n\n\n<p>Or you can search for a package:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 search package_name<\/pre>\n\n\n\n<p>If for some reason you want to remove\/uninstall some package, you can use the command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 uninstall package_name<\/pre>\n\n\n\n<p>You can find more options and usage examples by running the help command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 --help<\/pre>\n\n\n\n<p>Output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Usage:\n  pip3 &lt;command&gt; [options]\n\nCommands:\n  install                     Install packages.\n  download                    Download packages.\n  uninstall                   Uninstall packages.\n  freeze                      Output installed packages in requirements format.\n  list                        List installed packages.\n  show                        Show information about installed packages.\n  check                       Verify installed packages have compatible dependencies.\n  config                      Manage local and global configuration.\n  search                      Search PyPI for packages.\n  wheel                       Build wheels from your requirements.\n  hash                        Compute hashes of package archives.\n  completion                  A helper command used for command completion.\n  debug                       Show information useful for debugging.\n  help                        Show help for commands.\n\nGeneral Options:\n  -h, --help                  Show help.\n  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.\n  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.\n  -V, --version               Show version and exit.\n  -q, --quiet                 Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).\n  --log                       Path to a verbose appending log.\n  --proxy                     Specify a proxy in the form [user:passwd@]proxy.server:port.\n  --retries                   Maximum number of retries each connection should attempt (default 5 times).\n  --timeout                   Set the socket timeout (default 15 seconds).\n  --exists-action             Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.\n  --trusted-host              Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS.\n  --cert                      Path to alternate CA bundle.\n  --client-cert               Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.\n  --cache-dir\n                              Store the cache data in. \n  --no-cache-dir              Disable the cache. --disable-pip-version-check\n  --disable-pip-version-check\n                              Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.\n  --no-color                  Suppress colored output\n  --no-python-version-warning\n                              Silence deprecation warnings for upcoming unsupported Pythons.\n<\/pre>\n\n\n\n<p>And if you are interested in some specific command details, you can use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pip3 &lt;command&gt; --help<\/pre>\n\n\n\n<p>Congratulations! You have successfully installed pip on ubuntu 20.04, and learned a few basic commands for pip.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"120\" height=\"120\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-pip-ubuntu-20.04.jpg\" alt=\"install pip ubuntu 20.04\" class=\"wp-image-36722\"\/><\/figure><\/div>\n\n\n\n<p>Python and pip management are simple, however, getting your Python applications to run properly can be a frustrating experience. Our <a href=\"https:\/\/www.rosehosting.com\/python-hosting.html\">managed Python hosting<\/a> gives you peace of mind &#8211; our support team of experts will get any Python application that you need up and running immediately. Or they can install pip on Ubuntu 20.04 for you. They can also maintain your server and perform any requests that you have, all included with the cost of the VPS.<\/p>\n\n\n\n<p>Have any suggestions or questions that you want to share? Leave them in our comment section! You can also share this tutorial on social media by using our share buttons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will talk about how to install pip on Ubuntu 20.04. To begin, we&#8217;ll need to clarify &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install pip on Ubuntu 20.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#more-32688\" aria-label=\"Read more about How to Install pip on Ubuntu 20.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":34573,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[1298,155,1868,1666,1839],"class_list":["post-32688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-pip","tag-python","tag-python-2","tag-python-3","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install pip on Ubuntu 20.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"We&#039;ll show you how to install the pip package manager for both Python 3 and Python 2 on an Ubuntu 20.04 VPS.\" \/>\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.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/\" \/>\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 on Ubuntu 20.04\" \/>\n<meta property=\"og:description\" content=\"How to Install pip on Ubuntu 20.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-19T17:45:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:32:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install pip on Ubuntu 20.04\",\"datePublished\":\"2020-10-19T17:45:28+00:00\",\"dateModified\":\"2022-06-03T08:32:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/\"},\"wordCount\":723,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-pip-on-ubuntu-20-04.jpg\",\"keywords\":[\"pip\",\"python\",\"python 2\",\"Python 3\",\"Ubuntu 20.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/\",\"name\":\"How to Install pip on Ubuntu 20.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-pip-on-ubuntu-20-04.jpg\",\"datePublished\":\"2020-10-19T17:45:28+00:00\",\"dateModified\":\"2022-06-03T08:32:35+00:00\",\"description\":\"We'll show you how to install the pip package manager for both Python 3 and Python 2 on an Ubuntu 20.04 VPS.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-pip-on-ubuntu-20-04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-pip-on-ubuntu-20-04.jpg\",\"width\":742,\"height\":372,\"caption\":\"install pip python ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-pip-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install pip on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install pip on Ubuntu 20.04 | RoseHosting","description":"We'll show you how to install the pip package manager for both Python 3 and Python 2 on an Ubuntu 20.04 VPS.","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.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install pip on Ubuntu 20.04","og_description":"How to Install pip on Ubuntu 20.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2020-10-19T17:45:28+00:00","article_modified_time":"2022-06-03T08:32:35+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install pip on Ubuntu 20.04","datePublished":"2020-10-19T17:45:28+00:00","dateModified":"2022-06-03T08:32:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/"},"wordCount":723,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg","keywords":["pip","python","python 2","Python 3","Ubuntu 20.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/","name":"How to Install pip on Ubuntu 20.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg","datePublished":"2020-10-19T17:45:28+00:00","dateModified":"2022-06-03T08:32:35+00:00","description":"We'll show you how to install the pip package manager for both Python 3 and Python 2 on an Ubuntu 20.04 VPS.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-pip-on-ubuntu-20-04.jpg","width":742,"height":372,"caption":"install pip python ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-pip-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install pip on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/32688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=32688"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/32688\/revisions"}],"predecessor-version":[{"id":36724,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/32688\/revisions\/36724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/34573"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=32688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=32688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=32688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}