{"id":105082,"date":"2021-10-12T11:00:00","date_gmt":"2021-10-12T08:00:00","guid":{"rendered":"https:\/\/examples.javacodegeeks.com\/?p=105082"},"modified":"2021-10-12T23:29:00","modified_gmt":"2021-10-12T20:29:00","slug":"install-python-on-mac-os","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/","title":{"rendered":"Install Python on Mac OS"},"content":{"rendered":"<p>In this article, we&#8217;re going to install Python on Mac OS using the software <strong>pyenv<\/strong>. Also, we&#8217;ll see some configurations to set our Python version and run an example.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-1-introduction\">1. Introduction<\/h2>\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><a href=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\" alt=\"python mac\" class=\"wp-image-99891\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg 150w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo-70x70.jpg 70w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-1-1-pre-requisites\">1.1 Pre-requisites<\/h3>\n<p>For this article, it&#8217;s recommended to install the package manager <strong>Homebrew<\/strong>. It&#8217;s an open-source package management system that makes simpler the installation of software on a macOS system.<\/p>\n<p>To install it, access the website <a href=\"https:\/\/brew.sh\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> and follow the instructions.<\/p>\n<p>Also, feel free to use any IDE\/Code Editor with support for Python language and versions recommended above.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-2-why-do-we-use-python\">2. Why do we use Python<\/h2>\n<p>Python is a programming language used to develop computer applications. Also, is one of the most used and studied technology in the world.<\/p>\n<p>Know how to programming in Python is a great deal for developers as for other professionals since Python has applicable to many areas like data science, statistics, finances, games, and so many others.<\/p>\n<p>In the next steps, we&#8217;re going to install Python on Mac OS using Homebrew. Further, we&#8217;ll know the software <strong>pyenv,<\/strong> used to handle different Python versions, and finally write our first application in Python.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-3-installing-pyenv\">3. Installing pyenv<\/h2>\n<p>Firstly, using Homebrew we&#8217;ll run the command below to install pyenv.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Homebrew command install pyenv<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ brew install pyenv\n<\/pre>\n<p>And <em>voil\u00e1<\/em> pyenv is installed that easily. To confirm the installation, use the version command.<\/p>\n<p><span style=\"text-decoration: underline\"><em>pyenv version<\/em><\/span><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre class=\"brush:bash\">$ pyenv --version\npyenv 1.2.22\n<\/pre>\n<h2 class=\"wp-block-heading\" id=\"h-4-installing-python\">4. Installing Python<\/h2>\n<p>Moving on, let&#8217;s install Python using <code>pyenv<\/code>. To do that, we&#8217;ll use the install command as follows:<\/p>\n<p><span style=\"text-decoration: underline\"><em>Installing Python with pyenv<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ pyenv install 3.9.1\npython-build: use openssl@1.1 from homebrew\npython-build: use readline from homebrew\nDownloading Python-3.9.1.tar.xz...\n-&gt; https:\/\/www.python.org\/ftp\/python\/3.9.1\/Python-3.9.1.tar.xz\nInstalling Python-3.9.1...\npython-build: use readline from homebrew\npython-build: use zlib from xcode sdk\nInstalled Python-3.9.1 to \/Users\/slauriano\/.pyenv\/versions\/3.9.1\n<\/pre>\n<p>Note: for this article, the most recent Python version available to install with <code>pyenv<\/code> was 3.9.1. You can check the versions available to install using the command <code>install --list<\/code> and find out what version fits your needs.<\/p>\n<p>To check if the install was successful, use the command versions with <code>pyenv<\/code>.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Check Python version with pyenv<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ pyenv versions\n* system (set by \/Users\/slauriano\/.pyenv\/version)\n  3.9.1\n<\/pre>\n<h2 class=\"wp-block-heading\" id=\"h-5-set-your-global-default\">5. Set your global default<\/h2>\n<p>Now, it&#8217;s time to set the main version of Python. That means, we&#8217;re going to choose which version of Python we&#8217;ll use as default.<\/p>\n<p>To do that, we use the command <code>global<\/code> with pyenv.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Set global default<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ pyenv global 3.9.1\n<\/pre>\n<p>Using the command <code>versions<\/code> on pyenv, we can check if the version was changed as desired.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Set global default<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ pyenv versions    \n  system\n* 3.9.1 (set by \/Users\/slauriano\/.pyenv\/shims\/version)\n<\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-5-1-troubleshooting-global-default\">5.1 Troubleshooting global default<\/h3>\n<p>If the global default version of Python set before wasn&#8217;t changed as required, you&#8217;ll need to set the init command to pyenv work properly. <\/p>\n<p><span style=\"text-decoration: underline\"><em>pyenv init command<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ eval \"$(pyenv init -)\"\n<\/pre>\n<p>You can also add this command to your <code>~\/.profile<\/code> (or <code>~\/.bash_profile<\/code>) to load into your terminal properties.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-6-write-a-program-and-run-it\">6. Write a program and run it<\/h2>\n<p>To write a program in Python you can use any text editor of your choice. I put the code below that just reverses the text typed by the user.<\/p>\n<p><span><em>Python reverse text code<\/em><\/span><\/p>\n<pre class=\"brush:python\">#!\/usr\/bin\/env python\n\ndef reverse(text):\n    reverseText = text[::-1]\n    print(reverseText)\n\nif __name__ == \"__main__\":\n    text = input(\"Insert your text to reverse: \")\n    reverse(text)\n<\/pre>\n<p>To run it, use the line as follows.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Running python code<\/em><\/span><\/p>\n<pre class=\"brush:bash\">$ python -m reverse_text\n<\/pre>\n<p>And the result should be like that<\/p>\n<p><span style=\"text-decoration: underline\"><em>Running python code<\/em><\/span><\/p>\n<pre class=\"brush:bash\">Insert your text to reverse: Sergio\noigreS\n<\/pre>\n<h2 class=\"wp-block-heading\" id=\"h-7-understanding-python-runtimes\">7. Understanding Python runtimes<\/h2>\n<p>Why is important to understand Python runtimes? When we use <code>pyenv<\/code> to set our Python version to execute the code, we need to be careful with the version we choose to be the global default.<\/p>\n<p>In other words, the version defined as the global must fits with the Python&#8217;s code that we want to execute. There are some differences between Python 2 and Python 3 syntaxes, which can cause some failures during the software running.<\/p>\n<p>So, always <strong>double-check<\/strong> your code to guarantee that you&#8217;re aligned with code and environment versions, preventing mismatch.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-8-conclusion\">8. Conclusion<\/h2>\n<p>In this article, we learned how to install Python on Mac OS using the software <strong>pyenv<\/strong>, a great software to install and manage Python versions. Also, we saw the utility of Homebrew, a package manager designed for macOS to easily install third-party software.<\/p>\n<p>Further, we could install <strong>pyenv<\/strong> and do some commands to install a Python version and set the global default to use the required Python runtime.<\/p>\n<p>Finally, we wrote a simple Python code to run using our settled version and saw why is important to know the runtime to execute our code.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-9-download-the-source-code\">9. Download the source code<\/h2>\n<div class=\"download\"><strong>Download<\/strong><br \/>You can download the full source code of this example here: <a href=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/10\/pythoninstallmacos.zip\"><strong>Install Python on Mac OS<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we&#8217;re going to install Python on Mac OS using the software pyenv. Also, we&#8217;ll see some configurations to set our Python version and run an example. 1. Introduction 1.1 Pre-requisites For this article, it&#8217;s recommended to install the package manager Homebrew. It&#8217;s an open-source package management system that makes simpler the installation &hellip;<\/p>\n","protected":false},"author":239,"featured_media":99891,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46689],"tags":[46741,46647,46740,1716],"class_list":["post-105082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-homebrew","tag-macos","tag-pyenv","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install Python on Mac OS - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Install Python on mac OS using the software pyenv. Also, we&#039;ll see some configurations to set our Python version and run an example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Python on Mac OS - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Install Python on mac OS using the software pyenv. Also, we&#039;ll see some configurations to set our Python version and run an example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-12T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-12T20:29:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sergio Lauriano Junior\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sergiolauriano\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergio Lauriano Junior\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\"},\"author\":{\"name\":\"Sergio Lauriano Junior\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/79f2e4070e5cb0ccb5fd87ab3ac1f9fe\"},\"headline\":\"Install Python on Mac OS\",\"datePublished\":\"2021-10-12T08:00:00+00:00\",\"dateModified\":\"2021-10-12T20:29:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\"},\"wordCount\":681,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"keywords\":[\"homebrew\",\"macOs\",\"pyenv\",\"python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\",\"name\":\"Install Python on Mac OS - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"datePublished\":\"2021-10-12T08:00:00+00:00\",\"dateModified\":\"2021-10-12T20:29:00+00:00\",\"description\":\"Install Python on mac OS using the software pyenv. Also, we'll see some configurations to set our Python version and run an example.\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"set python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/web-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/web-development\/python\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Install Python on Mac OS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/79f2e4070e5cb0ccb5fd87ab3ac1f9fe\",\"name\":\"Sergio Lauriano Junior\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/sergio_photo-96x96.jpeg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/sergio_photo-96x96.jpeg\",\"caption\":\"Sergio Lauriano Junior\"},\"description\":\"Sergio is graduated in Software Development in the University City of S\u00e3o Paulo (UNICID). During his career, he get involved in a large number of projects such as telecommunications, billing, data processing, health and financial services. Currently, he works in financial area using mainly Java and IBM technologies.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/sergio-lauriano\/\",\"https:\/\/x.com\/@sergiolauriano\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/sergio-lauriano\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Python on Mac OS - Java Code Geeks","description":"Install Python on mac OS using the software pyenv. Also, we'll see some configurations to set our Python version and run an example.","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:\/\/examples.javacodegeeks.com\/install-python-on-macos\/","og_locale":"en_US","og_type":"article","og_title":"Install Python on Mac OS - Java Code Geeks","og_description":"Install Python on mac OS using the software pyenv. Also, we'll see some configurations to set our Python version and run an example.","og_url":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2021-10-12T08:00:00+00:00","article_modified_time":"2021-10-12T20:29:00+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","type":"image\/jpeg"}],"author":"Sergio Lauriano Junior","twitter_card":"summary_large_image","twitter_creator":"@sergiolauriano","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Sergio Lauriano Junior","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/"},"author":{"name":"Sergio Lauriano Junior","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/79f2e4070e5cb0ccb5fd87ab3ac1f9fe"},"headline":"Install Python on Mac OS","datePublished":"2021-10-12T08:00:00+00:00","dateModified":"2021-10-12T20:29:00+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/"},"wordCount":681,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","keywords":["homebrew","macOs","pyenv","python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/","url":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/","name":"Install Python on Mac OS - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","datePublished":"2021-10-12T08:00:00+00:00","dateModified":"2021-10-12T20:29:00+00:00","description":"Install Python on mac OS using the software pyenv. Also, we'll see some configurations to set our Python version and run an example.","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2021\/02\/python-logo.jpg","width":150,"height":150,"caption":"set python"},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/install-python-on-macos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/examples.javacodegeeks.com\/category\/web-development\/"},{"@type":"ListItem","position":3,"name":"Python","item":"https:\/\/examples.javacodegeeks.com\/category\/web-development\/python\/"},{"@type":"ListItem","position":4,"name":"Install Python on Mac OS"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/79f2e4070e5cb0ccb5fd87ab3ac1f9fe","name":"Sergio Lauriano Junior","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/sergio_photo-96x96.jpeg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/sergio_photo-96x96.jpeg","caption":"Sergio Lauriano Junior"},"description":"Sergio is graduated in Software Development in the University City of S\u00e3o Paulo (UNICID). During his career, he get involved in a large number of projects such as telecommunications, billing, data processing, health and financial services. Currently, he works in financial area using mainly Java and IBM technologies.","sameAs":["https:\/\/www.linkedin.com\/in\/sergio-lauriano\/","https:\/\/x.com\/@sergiolauriano"],"url":"https:\/\/examples.javacodegeeks.com\/author\/sergio-lauriano\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/105082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/239"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=105082"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/105082\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/99891"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=105082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=105082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=105082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}