{"id":3380,"date":"2016-05-03T14:46:16","date_gmt":"2016-05-03T05:46:16","guid":{"rendered":"http:\/\/blog.cgfm.jp\/garyu\/?p=3380"},"modified":"2016-05-03T14:47:22","modified_gmt":"2016-05-03T05:47:22","slug":"importerror-no-module-named-yaml-%e3%81%ab%e3%81%af-pyyaml","status":"publish","type":"post","link":"https:\/\/blog.cgfm.jp\/garyu\/archives\/3380","title":{"rendered":"ImportError: No module named &#8216;yaml&#8217; \u306b\u306f PyYAML"},"content":{"rendered":"<p><a href=\"http:\/\/qiita.com\/GushiSnow\/items\/79ca7deeb976f50126d7\">Chainer\u3067\u5b66\u7fd2\u3057\u305f\u5bfe\u8a71\u7528\u306e\u30dc\u30c3\u30c8\u3092Slack\u3067\u4f7f\u7528+Twitter\u304b\u3089\u5b66\u7fd2\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u30d5\u30a1\u30a4\u30f3\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0 &#8211; Qiita<\/a> \u3092\u8a66\u3057\u3066\u308b\u6642\u306b\u906d\u9047\u3002<\/p>\n<p>\u30fbMac OS X El Capitan<br \/>\n\u30fbPython 3.4.1<\/p>\n<p>ImportError: No module named &#8216;yaml&#8217;<\/p>\n<p>\u3068\u51fa\u305f\u306e\u3067\u3001\u304a\u6c7a\u307e\u308a\u306e pip \u3067\u6307\u5b9a\u3055\u308c\u3066\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f<\/p>\n<pre>\n$ sudo -H pip install yaml\nDownloading\/unpacking yaml\n  Could not find any downloads that satisfy the requirement yaml\nCleaning up...\nNo distributions at all found for yaml\n<\/pre>\n<p>\u305d\u3093\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u898b\u3064\u304b\u3089\u306a\u3044\u3063\u3066\u6012\u3089\u308c\u308b\u3002<br \/>\n\u8abf\u3079\u3066\u307f\u305f\u3089<a href=\"http:\/\/pyyaml.org\/wiki\/PyYAML\">PyYAML<\/a>\u3068\u3044\u3046\u306e\u304c\u3042\u3063\u305f<\/p>\n<pre>\n$ sudo -H pip install pyyaml\n<\/pre>\n<p>\u3053\u308c\u3067OK<br \/>\n\u8ab0\u304b\u306e\u304a\u5f79\u306b\u7acb\u3066\u308c\u3070\u5e78\u3044<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"http:\/\/d.hatena.ne.jp\/sconvict\/20100804\/1280900642\">Python\u306e\u81ea\u7136\u8a00\u8a9e\u51e6\u7406\u7528\u30d1\u30c3\u30b1\u30fc\u30b8NLTK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; \u53d6\u5f15\u8cbb\u7528\u30bc\u30ed\u306e\u6b74\u53f2 \uff5e \u30a2\u30fc\u30ab\u30a4\u30f4\u30ba\u3068\u6b74\u53f2\u7814\u7a76\u306e\u30c8\u30ea\u30bb\u30c4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chainer\u3067\u5b66\u7fd2\u3057\u305f\u5bfe\u8a71\u7528\u306e\u30dc\u30c3\u30c8\u3092Slack\u3067\u4f7f\u7528+Twitter\u304b\u3089\u5b66\u7fd2\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u30d5\u30a1\u30a4\u30f3\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0 &#8211; Qiita \u3092\u8a66\u3057\u3066\u308b\u6642\u306b\u906d\u9047\u3002 \u30fbMac OS X El Capitan \u30fbPyth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[380,379,15,387],"tags":[381,366,386,383],"class_list":["post-3380","post","type-post","status-publish","format-standard","hentry","category-ai","category-bot","category-mac","category-python","tag-chainer","tag-mac","tag-python","tag-383"],"_links":{"self":[{"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/posts\/3380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/comments?post=3380"}],"version-history":[{"count":2,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3382,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/posts\/3380\/revisions\/3382"}],"wp:attachment":[{"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/media?parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/categories?post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cgfm.jp\/garyu\/wp-json\/wp\/v2\/tags?post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}