{"id":356,"date":"2016-10-07T21:31:00","date_gmt":"2016-10-07T12:31:00","guid":{"rendered":""},"modified":"2022-03-15T14:21:37","modified_gmt":"2022-03-15T05:21:37","slug":"macos-sierrapython3","status":"publish","type":"post","link":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/2016\/10\/macos-sierrapython3.html","title":{"rendered":"macOS Sierra\u3067Python3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<div data-post-id=\"1297\" class=\"insert-page insert-page-1297 \"><div class=\"st-kaiwa-box kaiwaicon3 clearfix\"><div class=\"st-kaiwa-face\"><img decoding=\"async\" src=\"http:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-content\/uploads\/sites\/2\/2022\/03\/profile.jpg\" width=\"60px\"><div class=\"st-kaiwa-face-name\">\u6587\u5b57\u5b9f<\/div><\/div><div class=\"st-kaiwa-area\"><div class=\"st-kaiwa-hukidashi\">\u3053\u306e\u8a18\u4e8b\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30b7\u30b0\u30de\u30fb\u30c7\u30b6\u30a4\u30f3\u793e\u9577\u306e<a href=\"https:\/\/www.sigmadesign.co.jp\/president\/\" target=\"_blank\" rel=\"noopener\">\u6587\u5b57\u5b9f<\/a>\u304c\u57f7\u7b46\u3057\u307e\u3057\u305f\u3002<\/div><\/div><\/div>\n<\/div>\n<p>\u9ad8\u6821\u6570\u5b66\u3082\u307e\u3068\u3082\u306b\u52c9\u5f37\u3057\u3066\u3053\u306a\u304b\u3063\u305f\u30ec\u30d9\u30eb\u306e\u79c1\u3067\u3059\u304c\u3001\u4e2d\u5b66\u6570\u5b66\u304b\u3089\u52c9\u5f37\u3057\u76f4\u3057\u306a\u304c\u3089\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u306e\u52c9\u5f37\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u904b\u306e\u3044\u3044\u4e8b\u306b\u30aa\u30e9\u30a4\u30ea\u30fc\u304b\u3089\u300c\u30bc\u30ed\u304b\u3089\u4f5c\u308bDeep Learning \u2015Python\u3067\u5b66\u3076\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u306e\u7406\u8ad6\u3068\u5b9f\u88c5\u300d\u3068\u3044\u3046\u672c\u304c\u51fa\u3066\u305f\u306e\u3067\u3001\u305d\u308c\u3092\u8aad\u307f\u306a\u304c\u3089\u30b3\u30c4\u30b3\u30c4\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-709\" src=\"http:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-content\/uploads\/sites\/2\/2016\/10\/513J77QZHgL.jpg\" alt=\"\u30bc\u30ed\u304b\u3089\u4f5c\u308bDeep Learning \u2015Python\u3067\u5b66\u3076\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u306e\u7406\u8ad6\u3068\u5b9f\u88c5\" width=\"207\" height=\"293\" \/><\/p>\n<p><a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/4873117585\/shikakukingu-22\" target=\"_blank\" rel=\"nofollow noopener\">\u30bc\u30ed\u304b\u3089\u4f5c\u308bDeep Learning \u2015Python\u3067\u5b66\u3076\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u306e\u7406\u8ad6\u3068\u5b9f\u88c5<\/a><\/p>\n<p>\u305f\u3060\u3001\u3053\u306e\u672c\u306fPython3\u3067\u66f8\u304b\u308c\u3066\u3044\u3066\u3001\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308b\u74b0\u5883\u304cPython2\u306e\u79c1\u306b\u3068\u3063\u3066\u306f\u8272\u3005\u3068\u554f\u984c\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3059\u308b\u306e\u306bGoogle App Engine\u3092\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u3066\u3001GAE\u304cPython3\u306b\u307e\u3060\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u305f\u3081\u306b\u672a\u3060\u306bPython2\u7cfb\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u4e8b\u60c5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u79c1\u3068\u540c\u3058\u3088\u3046\u306a\u4eba\u304c\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3001\u554f\u984c\u304c\u51fa\u3066\u304f\u308b\u305f\u3073\u306b\u4e00\u5fdc\u8a18\u4e8b\u306b\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001mac\u3067Python3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u6cd5\u3067\u3059\u3002<\/p>\n<p>Python2\u306e\u307e\u307e\u3084\u308d\u3046\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u8272\u3005\u3068\u4e0d\u90fd\u5408\u304c\u51fa\u6765\u3066\u304d\u305f\u306e\u3067Python2\u3068Python3\u3092\u5207\u308a\u66ff\u3048\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3053\u3067pyenv\u3092\u4f7f\u3063\u3066Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u5931\u6557\u3002<\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>\r\n~$ pyenv install 3.5.1\r\nLast 10 log lines:\r\n  File \"\/private\/var\/folders\/96\/6vlfqmzs7yj57x663b30_d100000gn\/T\/python-build.20161008050732.27594\/Python-3.5.1\/Lib\/ensurepip\/__main__.py\", line 4, in \r\n    ensurepip._main()\r\n  File \"\/private\/var\/folders\/96\/6vlfqmzs7yj57x663b30_d100000gn\/T\/python-build.20161008050732.27594\/Python-3.5.1\/Lib\/ensurepip\/__init__.py\", line 209, in _main\r\n    default_pip=args.default_pip,\r\n  File \"\/private\/var\/folders\/96\/6vlfqmzs7yj57x663b30_d100000gn\/T\/python-build.20161008050732.27594\/Python-3.5.1\/Lib\/ensurepip\/__init__.py\", line 116, in bootstrap\r\n    _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)\r\n  File \"\/private\/var\/folders\/96\/6vlfqmzs7yj57x663b30_d100000gn\/T\/python-build.20161008050732.27594\/Python-3.5.1\/Lib\/ensurepip\/__init__.py\", line 40, in _run_pip\r\n    import pip\r\nzipimport.ZipImportError: can't decompress data; zlib not available\r\nmake: *** [install] Error 1\r\n<\/code><\/pre>\n<\/div>\n<p>\u8abf\u3079\u3066\u898b\u308b\u3068xcode-select\u3068\u3044\u3046\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3067\u304d\u308b\u3089\u3057\u3044\u3068\u3044\u3046\u4e8b\u3067\u3001\u65e9\u901f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"http:\/\/qiita.com\/maosanhioro\/items\/bf93540515d4ea75b222\" target=\"_blank\" rel=\"noopener\">http:\/\/qiita.com\/maosanhioro\/items\/bf93540515d4ea75b222<\/a><\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>\r\nxcode-select --install\r\n<\/code><\/pre>\n<\/div>\n<p>\u3059\u308b\u3068\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u7acb\u3061\u4e0a\u304c\u308b\u306e\u3067\u3001\u6c17\u306b\u305b\u305a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u7d9a\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u305f\u3089\u518d\u5ea6Python3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6311\u6226\u3002<\/p>\n<div style=\"background-color: lightgray; padding: 10px;\">\n<pre><code>\r\nDownloading Python-3.5.1.tgz...\r\n-&gt; https:\/\/www.python.org\/ftp\/python\/3.5.1\/Python-3.5.1.tgz\r\nInstalling Python-3.5.1...\r\nInstalled Python-3.5.1 to \/Users\/minoru\/.pyenv\/versions\/3.5.1\r\n<\/code><\/pre>\n<\/div>\n<p>\u3059\u308b\u3068\u7121\u4e8b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u5b57\u5b9f\u3053\u306e\u8a18\u4e8b\u306f\u3001\u682a\u5f0f\u4f1a\u793e\u30b7\u30b0\u30de\u30fb\u30c7\u30b6\u30a4\u30f3\u793e\u9577\u306e\u6587\u5b57\u5b9f\u304c\u57f7\u7b46\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":709,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[54,33],"class_list":["post-356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-deep-learning","tag-python"],"_links":{"self":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/media\/709"}],"wp:attachment":[{"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigmadesign.co.jp\/minomonchan\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}