{"id":1727,"date":"2017-10-26T18:18:26","date_gmt":"2017-10-26T09:18:26","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1727"},"modified":"2017-10-26T18:18:26","modified_gmt":"2017-10-26T09:18:26","slug":"high-sierra%e3%81%abpython3-6-3%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e5%a4%b1%e6%95%97","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1727","title":{"rendered":"High Sierra\u306bPython3.6.3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u5931\u6557"},"content":{"rendered":"<p>High Sierra (macOS 10.13) \u306b pyenv \u3067 Python 3.6.3 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u5931\u6557\u3059\u308b\u3002(BUILD FAILED)<\/p>\n<h2>\u89e3\u6c7a\u65b9\u6cd5<\/h2>\n<h3>1. openssl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >$ brew install openssl<\/pre>\n<h3>2. openssl\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066pyenv\u3092\u5b9f\u884c<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >CFLAGS=\"-I$(brew --prefix openssl)\/include\" \\\r\nLDFLAGS=\"-L$(brew --prefix openssl)\/lib\" \\\r\npyenv install -v 3.4.3<\/pre>\n<p><a href=\"https:\/\/github.com\/pyenv\/pyenv\/wiki\/Common-build-problems#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib\">ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>High Sierra (macOS 10.13) \u306b pyenv \u3067 Python 3.6.3 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u5931\u6557\u3059\u308b\u3002(BUILD FAILED) \u89e3\u6c7a\u65b9\u6cd5 1. openssl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ brew i [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[52],"class_list":["post-1727","post","type-post","status-publish","format-standard","hentry","category-memo","tag-python"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=1727"}],"version-history":[{"count":3,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1727\/revisions"}],"predecessor-version":[{"id":1730,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1727\/revisions\/1730"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}