{"id":19595,"date":"2023-05-12T15:05:44","date_gmt":"2023-05-12T15:05:44","guid":{"rendered":"https:\/\/linux.how2shout.com\/?p=19595"},"modified":"2023-05-12T15:05:47","modified_gmt":"2023-05-12T15:05:47","slug":"how-to-install-python-library-in-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/","title":{"rendered":"How to install Python library in Ubuntu Linux"},"content":{"rendered":"\n<p>Python is quite a well-known language in today&#8217;s world when Artificial Intelligent backed products are booming. It is popular because of its simplicity and versatility. Developers can use it on all popular operating systems to code their applications, the best thing about Python is it provides an ecosystem of executable libraries to provide various packages and modules to make coding of developers easier.<\/p>\n\n\n\n<p><strong>In this article, we learn how to install Python libraries in Ubuntu Linux.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-update-system-packages\">Step 1: Update System Packages<\/h2>\n\n\n\n<p>On your Ubuntu Linux, whether it is 22.04, 20.04, or any other, first access your command terminal, the GUI Desktop users can press <strong>CTRL+Alt+T<\/strong> to open the Terminal app. Now, it is good practice to run the system update command before installing a new package because sometimes APT couldn&#8217;t find the latest version of the available packages due to the old indexed package list.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt update<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-install-the-pip-package-manager\">Step 2: Install the pip package manager<\/h2>\n\n\n\n<p>By default the Python version we have on the latest Ubuntu Linux system is Python3 but we will not have the PIP package manager of Python which is an quite easy way to install various Python libraries.<\/p>\n\n\n\n<p>To install the PIP3 on Ubuntu, the command is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt install python3-pip<\/code><\/pre>\n\n\n\n<p><strong>Note<\/strong>: If you don&#8217;t have Python already installed then to get it run: <strong>sudo apt install python3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"360\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-the-pip-package-manager.png\" alt=\"Install the pip package manager\" class=\"wp-image-19600\" title=\"Install the pip package manager\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-install-python-libraries\">Step 3: Install Python Libraries<\/h2>\n\n\n\n<p>As we have the PIP package manager installed on our Ubuntu Linux, the second step is to use it for installing the required library or dependency for our Python project from Python Package Index (PyPI).<\/p>\n\n\n\n<p>To do this, in your command terminal use the following given PIP syntax:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\"><em>pip install library-of-python<\/em><\/code><\/pre>\n\n\n\n<p>Replace<strong> library-of-python<\/strong> in the above syntax with the real name of the library you want to install.<\/p>\n\n\n\n<p><strong>For example<\/strong>, I am a gaming developer and want to install and use the <strong>Pygame<\/strong> Python library on my Ubuntu system. To install it, the above command syntax will be used:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip install pygame<\/code><\/pre>\n\n\n\n<p><strong>If you get a warning<\/strong> &#8221; <em>Defaulting to user installation because normal site-packages is not writeable Collecting<\/em>&#8221; the use &#8211;user option for giving the permission.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip install pygame --user<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-4-check-library-installation\">Step 4: Check Library Installation<\/h2>\n\n\n\n<p>To check whether the library is actually installed on your system, you can import it using a Python interpreter. For that on your command terminal type:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3<\/pre>\n\n\n\n<p>After that to import the library use the following syntax:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">import <em>your_library_name<\/em><\/code><\/pre>\n\n\n\n<p><strong>for example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">import pygame<\/code><\/pre>\n\n\n\n<p>If there are no errors, the library is installed correctly.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"264\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png\" alt=\"Install Python library on Ubuntu\" class=\"wp-image-19601\" title=\"Install Python library on Ubuntu\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-5-upgrade-libraries-optional\">Step 5: Upgrade Libraries (Optional)<\/h2>\n\n\n\n<p>In the future, if there is any update available for your installed library then to apply it simply use the PIP upgrade command, the syntax is given below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip install --upgrade library_name<\/code><\/pre>\n\n\n\n<p>Replace<strong> library_name<\/strong> with the name of the library you want to upgrade.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-6-python-library-uninstallation-optional\">Step 6: Python Library Uninstallation (optional)<\/h2>\n\n\n\n<p>There will be a time when you\u00a0won&#8217;t be needed some particular Python library on your system, in that case, if you want to remove it, here is the command to follow:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip uninstall <em>library-name<\/em><\/code><\/pre>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">pip uninstall pygame<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion:<\/h3>\n\n\n\n<p>You have seen in this quick article, how simple and easy is to install the Python library on Ubuntu or any other system using its PIP package manager for your Python environment to enhance your programming experience.<\/p>\n\n\n\n<p><strong>Other Articles:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/linux.how2shout.com\/3-ways-to-install-insomnia-ubuntu-22-04-or-20-04-lts-linux\/\">3 Ways to Install Insomnia Ubuntu 22.04 or 20.04 LTS Linux<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/pygame-installation-on-ubuntu-22-04-or-20-04-linux\/\">Pygame installation on Ubuntu 22.04 or 20.04 Linux<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-eigen-c-library-on-ubuntu-22-04-or-20-04\/\">How to install the Eigen C++ library on Ubuntu 22.04 or 20.04<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/2-methods-to-install-eclipse-ide-on-ubuntu-22-04-or-20-04-lts\/\">2 Methods to Install Eclipse IDE on Ubuntu 22.04 or 20.04 LTS<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Python is quite a well-known language in today&#8217;s world when Artificial Intelligent backed products are booming. It is popular because of its simplicity and versatility. Developers can use it on all popular operating systems to code their applications, the best thing about Python is it provides an ecosystem of executable libraries to provide various packages [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":19601,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[3],"tags":[2931,2923,29,30,3172],"class_list":{"0":"post-19595","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ubuntu","8":"tag-developer","9":"tag-python","10":"tag-ubuntu","11":"tag-ubuntu-20-04","12":"tag-ubuntu-22-04"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Python library in Ubuntu Linux - LinuxShout<\/title>\n<meta name=\"description\" content=\"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/\" \/>\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 library in Ubuntu Linux\" \/>\n<meta property=\"og:description\" content=\"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxShout\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/how2shout\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-12T15:05:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-12T15:05:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png\" \/>\n\t<meta property=\"og:image:width\" content=\"774\" \/>\n\t<meta property=\"og:image:height\" content=\"264\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Heyan Maurya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:site\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Heyan Maurya\" \/>\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:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/\"},\"author\":{\"name\":\"Heyan Maurya\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\"},\"headline\":\"How to install Python library in Ubuntu Linux\",\"datePublished\":\"2023-05-12T15:05:44+00:00\",\"dateModified\":\"2023-05-12T15:05:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/\"},\"wordCount\":557,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-Python-library-on-Ubuntu.png\",\"keywords\":[\"developer\",\"python\",\"ubuntu\",\"ubuntu 20.04\",\"Ubuntu 22.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#respond\"]}],\"copyrightYear\":\"2023\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/\",\"name\":\"How to install Python library in Ubuntu Linux - LinuxShout\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-Python-library-on-Ubuntu.png\",\"datePublished\":\"2023-05-12T15:05:44+00:00\",\"dateModified\":\"2023-05-12T15:05:47+00:00\",\"description\":\"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-Python-library-on-Ubuntu.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Install-Python-library-on-Ubuntu.png\",\"width\":774,\"height\":264,\"caption\":\"Install Python library on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-library-in-ubuntu-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linux.how2shout.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Python library in Ubuntu Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"name\":\"LinuxShout\",\"description\":\"Find the open source solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"alternateName\":\"Linux how2shout\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linux.how2shout.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\",\"name\":\"LinuxShout\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"width\":503,\"height\":349,\"caption\":\"LinuxShout\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/how2shout\",\"https:\\\/\\\/x.com\\\/h2smedia\",\"https:\\\/\\\/instagram.com\\\/h2smedia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/h2smedia\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/how2shout\",\"https:\\\/\\\/youtube.com\\\/h2smedia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\",\"name\":\"Heyan Maurya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"caption\":\"Heyan Maurya\"},\"description\":\"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...\",\"sameAs\":[\"https:\\\/\\\/www.how2shout.com\\\/\"],\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/author\\\/heyan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install Python library in Ubuntu Linux - LinuxShout","description":"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.","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:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to install Python library in Ubuntu Linux","og_description":"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.","og_url":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/","og_site_name":"LinuxShout","article_publisher":"https:\/\/www.facebook.com\/how2shout","article_published_time":"2023-05-12T15:05:44+00:00","article_modified_time":"2023-05-12T15:05:47+00:00","og_image":[{"width":774,"height":264,"url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png","type":"image\/png"}],"author":"Heyan Maurya","twitter_card":"summary_large_image","twitter_creator":"@h2smedia","twitter_site":"@h2smedia","twitter_misc":{"Written by":"Heyan Maurya","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#article","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/"},"author":{"name":"Heyan Maurya","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72"},"headline":"How to install Python library in Ubuntu Linux","datePublished":"2023-05-12T15:05:44+00:00","dateModified":"2023-05-12T15:05:47+00:00","mainEntityOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/"},"wordCount":557,"commentCount":0,"publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png","keywords":["developer","python","ubuntu","ubuntu 20.04","Ubuntu 22.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#respond"]}],"copyrightYear":"2023","copyrightHolder":{"@id":"https:\/\/linux.how2shout.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/","url":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/","name":"How to install Python library in Ubuntu Linux - LinuxShout","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#primaryimage"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png","datePublished":"2023-05-12T15:05:44+00:00","dateModified":"2023-05-12T15:05:47+00:00","description":"Follow the given commands in this tutorial to install the Python libraries on Ubuntu 22.04 or 20.04 using PIP package manager and terminal.","breadcrumb":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#primaryimage","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2023\/05\/Install-Python-library-on-Ubuntu.png","width":774,"height":264,"caption":"Install Python library on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-library-in-ubuntu-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linux.how2shout.com\/"},{"@type":"ListItem","position":2,"name":"How to install Python library in Ubuntu Linux"}]},{"@type":"WebSite","@id":"https:\/\/linux.how2shout.com\/#website","url":"https:\/\/linux.how2shout.com\/","name":"LinuxShout","description":"Find the open source solutions","publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"alternateName":"Linux how2shout","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linux.how2shout.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linux.how2shout.com\/#organization","name":"LinuxShout","url":"https:\/\/linux.how2shout.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","width":503,"height":349,"caption":"LinuxShout"},"image":{"@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/how2shout","https:\/\/x.com\/h2smedia","https:\/\/instagram.com\/h2smedia","https:\/\/www.linkedin.com\/company\/h2smedia\/","https:\/\/www.pinterest.com\/how2shout","https:\/\/youtube.com\/h2smedia"]},{"@type":"Person","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72","name":"Heyan Maurya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","caption":"Heyan Maurya"},"description":"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...","sameAs":["https:\/\/www.how2shout.com\/"],"url":"https:\/\/linux.how2shout.com\/author\/heyan\/"}]}},"_links":{"self":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/comments?post=19595"}],"version-history":[{"count":3,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19595\/revisions"}],"predecessor-version":[{"id":19604,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/19595\/revisions\/19604"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media\/19601"}],"wp:attachment":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media?parent=19595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/categories?post=19595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/tags?post=19595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}