{"id":33067,"date":"2020-12-10T16:21:45","date_gmt":"2020-12-10T16:21:45","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=33067"},"modified":"2020-12-10T16:21:45","modified_gmt":"2020-12-10T16:21:45","slug":"python-3-9-1-released-with-macos-11-big-sur-support","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/12\/python-3-9-1-released-with-macos-11-big-sur-support\/","title":{"rendered":"Python 3.9.1 Released with macOS 11 Big Sur Support"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/07\/python-icon245.png\" alt=\"\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-6928\" \/><\/p>\n<p>The Python programming language 3.9.1 was released a few days ago as the first maintenance release of Python 3.9. <\/p>\n<p>Python 3.9.1 comes with 282 changes since 3.9.0. It is the first version to support macOS 11 Big Sur. With Xcode 11 and later it is now possible to build \u201cUniversal 2\u201d binaries which work on Apple Silicon. See the <a href=\"https:\/\/docs.python.org\/release\/3.9.1\/whatsnew\/changelog.html#changelog\" target=\"_blank\">changelog<\/a> for more.<\/p>\n<h4>How to Install Python 3.9.1 in Ubuntu:<\/h4>\n<p><b>1.)<\/b> Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for &#8216;terminal&#8217; from system application launcher.<\/p>\n<p>When terminal opens, run command to add the <a href=\"https:\/\/launchpad.net\/~deadsnakes\/+archive\/ubuntu\/ppa\" target=\"_blank\">\u201cdeadsnakes\u201d team PPA<\/a>:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:deadsnakes\/ppa<\/pre>\n<p><i>Type user password (no asterisk feedback) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/deadsnakes-bionic.jpg\" alt=\"\" width=\"500\" height=\"67\" class=\"aligncenter size-full wp-image-10488\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/deadsnakes-bionic.jpg 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/deadsnakes-bionic-450x60.jpg 450w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><b>2.)<\/b> Then run commands to refresh system package cache, and install Python 3.9:<\/p>\n<pre style=\"border:none;\">sudo apt update\r\n\r\nsudo apt install python3.9<\/pre>\n<p><b>3.)<\/b> Once successfully installed, check your system Python versions (python &#8211;version):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/python391-version.png\" alt=\"\" width=\"600\" height=\"173\" class=\"aligncenter size-full wp-image-33068\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/python391-version.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/12\/python391-version-450x130.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>Uninstall:<\/h4>\n<p>To uninstall the Python3.9 packages, run command:<\/p>\n<pre style=\"border:none;\">sudo apt remove --autoremove python3.9 python3.9-minimal<\/pre>\n<p>To remove the Deadsnakes PPA, launch <b>Software &#038; Updates<\/b> and go to <i>Other Software<\/i> tab, then remove the repository line and close the window.<\/p>","protected":false},"excerpt":{"rendered":"<p>The Python programming language 3.9.1 was released a few days ago as the first maintenance release of Python 3.9. Python 3.9.1 comes with 282 changes since 3.9.0. It is the first version to support macOS 11 Big Sur. With Xcode 11 and later it is now possible to build \u201cUniversal 2\u201d binaries which work on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1988],"class_list":["post-33067","post","type-post","status-publish","format-standard","hentry","category-news","tag-python-3-9"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=33067"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/33067\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=33067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=33067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=33067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}