{"id":728,"date":"2012-09-20T20:36:58","date_gmt":"2012-09-21T00:36:58","guid":{"rendered":"http:\/\/www.alquier.org\/linfa\/work\/?p=728"},"modified":"2012-09-20T20:36:58","modified_gmt":"2012-09-21T00:36:58","slug":"installing-gcc-on-macos","status":"publish","type":"post","link":"http:\/\/www.alquier.org\/laurent\/sites\/2012\/09\/20\/installing-gcc-on-macos\/","title":{"rendered":"Installing GCC on MacOS"},"content":{"rendered":"<p>It&#8217;s a familiar chain of installation:<\/p>\n<ol>\n<li>In order to install NLTK for a workshop about Natural Language Processing<\/li>\n<li>First you have to install <a href=\"http:\/\/www.python.org\/getit\/\">Python<\/a>, then install <a href=\"http:\/\/nltk.org\/install.html\" class=\"broken_link\">NLTK<\/a> and dependencies, including <a href=\"http:\/\/pypi.python.org\/pypi\/setuptools#downloads\">Python Setup tools<\/a>.<\/li>\n<li>Find out Numpy doesn&#8217;t compile because GCC is not available<\/li>\n<li>No worries, GCC is part of XCode tools, which requires a 3Gb download package (!) and signing up for a <a href=\"https:\/\/developer.apple.com\/\">Mac Developer<\/a> license (free but still feels like applying for a visa to a foreign country)<\/li>\n<li>Fortunately, there is a <a href=\"https:\/\/github.com\/kennethreitz\/osx-gcc-installer\">simple GCC installer<\/a> available for Mac OS!<\/li>\n<li>Finally, compile the missing packages and install <a href=\"http:\/\/nltk.org\/data.html\" class=\"broken_link\">NLTK data<\/a>.<\/li>\n<\/ol>\n<p>Wasn&#8217;t that fun?! \ud83d\ude42<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s a familiar chain of installation: In order to install NLTK for a workshop about Natural Language Processing First you have to install Python, then install NLTK and dependencies, including Python Setup tools. Find out Numpy doesn&#8217;t compile because GCC is not available No worries, GCC is part of XCode tools, which requires a 3Gb download package (!) and signing&hellip; <\/p>\n<p><a class=\"more-link\" href=\"http:\/\/www.alquier.org\/laurent\/sites\/2012\/09\/20\/installing-gcc-on-macos\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[123,1],"tags":[137,149,155,158],"class_list":["post-728","post","type-post","status-publish","format-standard","hentry","category-tips","category-uncategorized","tag-gcc","tag-macos","tag-nltk","tag-pyhton","xfolkentry","clearfix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8frwa-bK","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/comments?post=728"}],"version-history":[{"count":0,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/728\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/media?parent=728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/categories?post=728"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/tags?post=728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}