{"id":1340,"date":"2020-07-04T14:58:16","date_gmt":"2020-07-04T05:58:16","guid":{"rendered":"https:\/\/mindtech.jp\/?p=1340"},"modified":"2020-07-04T15:01:39","modified_gmt":"2020-07-04T06:01:39","slug":"post-1340","status":"publish","type":"post","link":"https:\/\/mindtech.jp\/?p=1340","title":{"rendered":"Windows+Anaconda(Python3.7)\u74b0\u5883\u3067\u306eTA_lib\u3001omitempty\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p>\u9152\u4e95\u6f64\uff08@sakaijun\uff09 \u3055\u3093\u306eUdemy\u306e\u8b1b\u5ea7\u3092\u53d7\u3051\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u9014\u4e2d\u3067Python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u904e\u7a0b\u3067\u3001\u3044\u308d\u3044\u308d\u3068\u30c8\u30e9\u30d6\u3063\u305f\u306e\u3067\u3001\u89e3\u6c7a\u3057\u305f\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u74b0\u5883\u306f\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u3001Windows 10 + Anaconda\u3067Python\u306f3.7.7\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">omitempty\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<p>\u307e\u305a\u306f\u7121\u7b56\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306a&#8221;UnicodeDecodeError&#8221;\u3067\u6b62\u307e\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTraceback (most recent call last):\n  File &quot;&amp;lt;string&gt;&quot;, line 1, in &amp;lt;module&gt;\n  File &quot;C:\\Users\\tomi\\AppData\\Local\\Temp\\pip-download-hlg5foh2\\omitempty\\setup.py&quot;, line 23, in &amp;lt;module&gt;\n    license=open(&#039;LICENSE&#039;, &#039;r&#039;).read(),\nUnicodeDecodeError: &#039;cp932&#039; codec can&#039;t decode byte 0x93 in position 20: illegal multibyte sequence\n----------------------------------------\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\n<\/pre><\/div>\n\n\n<p>\u30b9\u30bf\u30fc\u30c8\uff1eAnaconda3(64-bit)>Anaconda Prompt(Anaconda3) \u3000<br>\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3002<br>\u305d\u306e\u4ed6\uff1e\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c<br>\u3068\u9032\u3093\u3067\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nset PYTHONUTF8=1\npip install omitempty\n<\/pre><\/div>\n\n\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br>\u3053\u308c\u4ee5\u5916\u306e\u3084\u308a\u65b9\u3067\u306f\u3001\u4f8b\u3048\u3070\u30d7\u30ed\u30f3\u30d7\u30c8\u753b\u9762\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u8a2d\u5b9a\u3092 chcp 65001 \u3068UTF-8\u306b\u3059\u308b\u306a\u3069\u3082\u8a66\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">ta-lib\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\n\n\n<p>\u3053\u3061\u3089\u3082\u3001\u5358\u7d14\u306b\u3000pip install \u3059\u308b\u3060\u3051\u3067\u306f\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3057\u3001conda\u7ba1\u7406\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u4e00\u89a7\u306b\u3082\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306e\u30b5\u30a4\u30c8\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001pip\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br><a href=\"https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#ta-lib\">https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#ta-lib<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"351\" src=\"https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image.png\" alt=\"\" class=\"wp-image-1341\" srcset=\"https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image.png 470w, https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image-300x224.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p>\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u306fPython 3.7\u3067\u3057\u305f\u306e\u3067\u3001&#8221;cp37&#8243;\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u304a\u4f7f\u3044\u306e\u74b0\u5883\u304c 3.8 \u306a\u3069\u3067\u3042\u308c\u3070&#8221;cp38&#8243;\u306a\u3069\u3068\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npip install TA_Lib-0.4.18-cp37-cp37m-win_amd64.whl\n<\/pre><\/div>\n\n\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u4eca\u65e5\u306e\u6642\u70b9\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\uff08ta-lib\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8b1b\u5ea7\u3067\u306e\u6307\u5b9a\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u82e5\u5e72\u9055\u3063\u3066\u304d\u307e\u3059\u304c\u3001\u307e\u3042\u826f\u3057\u3068\u3057\u307e\u3057\u3087\u3046w\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"212\" src=\"https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image-1.png\" alt=\"\" class=\"wp-image-1343\" srcset=\"https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image-1.png 720w, https:\/\/mindtech.jp\/wp-content\/uploads\/2020\/07\/image-1-300x88.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9152\u4e95\u6f64\uff08@sakaijun\uff09 \u3055\u3093\u306eUdemy\u306e\u8b1b\u5ea7\u3092\u53d7\u3051\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u9014\u4e2d\u3067Python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u904e\u7a0b\u3067\u3001\u3044\u308d\u3044\u308d\u3068\u30c8\u30e9\u30d6\u3063\u305f\u306e\u3067\u3001\u89e3\u6c7a\u3057\u305f\u65b9\u6cd5\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002 \u74b0\u5883\u306f\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u3001Windows  [&hellip;]<\/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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1340","post","type-post","status-publish","format-standard","hentry","category-1"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4rHn0-lC","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/posts\/1340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mindtech.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1340"}],"version-history":[{"count":2,"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions"}],"predecessor-version":[{"id":1344,"href":"https:\/\/mindtech.jp\/index.php?rest_route=\/wp\/v2\/posts\/1340\/revisions\/1344"}],"wp:attachment":[{"href":"https:\/\/mindtech.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindtech.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindtech.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}