{"id":821,"date":"2023-03-03T22:25:45","date_gmt":"2023-03-03T14:25:45","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=821"},"modified":"2023-04-29T16:52:23","modified_gmt":"2023-04-29T08:52:23","slug":"python-install-robot-framework-error-unicodedecodeerror-resolution","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/03\/python-install-robot-framework-error-unicodedecodeerror-resolution\/","title":{"rendered":"Python\u5b89\u88c5Robot Framework\u9519\u8befUnicodeDecodeError\u89e3\u51b3"},"content":{"rendered":"<p>Windows CMD\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">> pip install robotframework<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>\u62a5\u9519\uff1a<\/p>\n<pre><code>UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte<\/code><\/pre>\n<p>\u8ffd\u7a76\u5176\u539f\u56e0\u662f\uff1aWindows\u7684cmd\u73af\u5883\u9ed8\u8ba4\u4e3agbk\u7f16\u7801\uff0cpip\u9ed8\u8ba4\u7528utf8\u7f16\u7801\u3002\u5728Linux\u548cMac\u4e2d\uff0cterminal\u73af\u5883\u9ed8\u8ba4\u7684\u662futf8\u7f16\u7801\uff0c\u6240\u4ee5\u4e0d\u4f1a\u62a5\u9519\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u4f7f\u7528 <code>Git Bash<\/code> \u5b89\u88c5\uff08\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows CMD\u547d\u4ee4\uff1a > pip install robotframework \u62a5\u9519\uff1a Unicode [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[228],"tags":[227],"class_list":["post-821","post","type-post","status-publish","format-standard","hentry","category-robot-framework","tag-robot-framework"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=821"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/821\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}