{"id":3989,"date":"2018-04-15T18:07:09","date_gmt":"2018-04-15T17:07:09","guid":{"rendered":"http:\/\/www.blopig.com\/blog\/?p=3989"},"modified":"2018-04-15T18:07:09","modified_gmt":"2018-04-15T17:07:09","slug":"i-just-wanted-tensorflow","status":"publish","type":"post","link":"https:\/\/www.blopig.com\/blog\/2018\/04\/i-just-wanted-tensorflow\/","title":{"rendered":"I just wanted TensorFlow"},"content":{"rendered":"<p>Finally got TensorFlow to install on my Mac. You&#8217;d be tempted to think, &#8220;Jin, it&#8217;s just a pip install, surely?&#8221;<\/p>\n<p>No, MacOS begs to differ! You see, if you&#8217;re on a\u00a0<em>slightly\u00a0<\/em>older macOS version like I was (10.12), then you&#8217;d still be using TLS 1.0 \u2013 long story short, when querying PyPI via pip to get any packages on TLS 1.0, your requests will get rejected. And this cutoff was chosen something like a week ago \u2013 SAD! If you have MacOS 10.13 and onward, TLS should be set to 1.2 so you need not worry.<\/p>\n<p>TL;DR:<\/p>\n<ol>\n<li>Get a new version of pip (10.0); see <a href=\"https:\/\/stackoverflow.com\/questions\/49748063\/pip-install-fails-for-every-package-could-not-find-a-version-that-satisfies-th\/49748494#49748494\">Stack Overflow<\/a> post.<\/li>\n<li>Install any dependencies for pip as necessary by doing tons of source compilations.<\/li>\n<li>Install desired package(s) as necessary.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Finally got TensorFlow to install on my Mac. You&#8217;d be tempted to think, &#8220;Jin, it&#8217;s just a pip install, surely?&#8221; No, MacOS begs to differ! You see, if you&#8217;re on a\u00a0slightly\u00a0older macOS version like I was (10.12), then you&#8217;d still be using TLS 1.0 \u2013 long story short, when querying PyPI via pip to get [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","wikipediapreview_detectlinks":true,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ngg_post_thumbnail":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"ppma_author":[511],"class_list":["post-3989","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"authors":[{"term_id":511,"user_id":22,"is_guest":0,"slug":"jinwoo","display_name":"Jinwoo Leem","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/65d338dc0b03d3026aa9a98f5e43889ca6c9ac9d0f45fe65ea5931207597ce2d?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/3989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/comments?post=3989"}],"version-history":[{"count":2,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/3989\/revisions"}],"predecessor-version":[{"id":3992,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/posts\/3989\/revisions\/3992"}],"wp:attachment":[{"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/media?parent=3989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/categories?post=3989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/tags?post=3989"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.blopig.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=3989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}