{"id":258,"date":"2026-01-10T15:30:00","date_gmt":"2026-01-10T15:30:00","guid":{"rendered":"https:\/\/alexaddison.com\/?p=258"},"modified":"2026-01-11T21:39:41","modified_gmt":"2026-01-11T21:39:41","slug":"hongkiat-cleaning-os-x-python-layered-installations","status":"publish","type":"post","link":"https:\/\/alexaddison.com\/?p=258","title":{"rendered":"Cleaning OS X python layered installations"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Great guide to resetting your local environment after the inevitable Roman road-ification, layering, and conflicts. <br><br>I got mine back to vanilla with this helpful info: <a href=\"https:\/\/www.hongkiat.com\/blog\/remove-python-version-mac\/\">https:\/\/www.hongkiat.com\/blog\/remove-python-version-mac\/<\/a><br><br>Some notes: homebrew lists python by version, so a wildcard search for &#8220;python&#8221; lists python@3.x and you must type the @3.x when attemptiong removal. <br><br>I also found <a href=\"https:\/\/apple.stackexchange.com\/questions\/198623\/uninstall-all-programs-installed-by-homebrew\">this SO<\/a> post that helpfully shortcuts homebrew cleanup. And it looks like you can stop short of uninstalling homebrew &#8211; it won&#8217;t do anything after uninstalling its local python, and the skeleton might mismatch when you try to reinstall it in the future.<br><br>And of course&#8230; relevant XKCD.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"487\" src=\"https:\/\/alexaddison.com\/wp-content\/uploads\/2026\/01\/image.png\" alt=\"\" class=\"wp-image-259\" srcset=\"https:\/\/alexaddison.com\/wp-content\/uploads\/2026\/01\/image.png 492w, https:\/\/alexaddison.com\/wp-content\/uploads\/2026\/01\/image-300x297.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Great guide to resetting your local environment after the inevitable Roman road-ification, layering, and conflicts. I got mine back to vanilla with this helpful info: https:\/\/www.hongkiat.com\/blog\/remove-python-version-mac\/ Some notes: homebrew lists python by version, so a wildcard search for &#8220;python&#8221; lists python@3.x and you must type the @3.x when attemptiong removal. I also found this SO [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4],"class_list":["post-258","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-python"],"_links":{"self":[{"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/posts\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alexaddison.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258"}],"version-history":[{"count":2,"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/alexaddison.com\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/alexaddison.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexaddison.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexaddison.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}