{"id":4856,"date":"2022-04-30T11:28:47","date_gmt":"2022-04-30T02:28:47","guid":{"rendered":"https:\/\/obenkyolab.com\/?p=4856"},"modified":"2022-04-30T11:29:27","modified_gmt":"2022-04-30T02:29:27","slug":"%e3%80%90python%e3%80%91command-python-setup-py-egg_info-failed-with-error-code-1-in-pywinpty%e3%81%8c%e5%87%ba%e3%81%9f%e6%99%82%e3%81%ae%e5%af%be%e5%87%a6%e6%b3%95","status":"publish","type":"post","link":"https:\/\/obenkyolab.com\/?p=4856","title":{"rendered":"\u3010Python\u3011Command &#8220;python setup.py egg_info&#8221; failed with error code 1 in pywinpty\u304c\u51fa\u305f\u6642\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/obenkyolab.com\/?p=4856\/#%E6%A6%82%E8%A6%81\" >\u6982\u8981<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/obenkyolab.com\/?p=4856\/#%E7%99%BA%E7%94%9F%E3%81%97%E3%81%9F%E3%82%A8%E3%83%A9%E3%83%BC\" >\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/obenkyolab.com\/?p=4856\/#%E5%AF%BE%E5%87%A6%E6%B3%95\" >\u5bfe\u51e6\u6cd5<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A6%82%E8%A6%81\"><\/span>\u6982\u8981<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Python\u306e3.6.8\u74b0\u5883\u306bjupyterlab\u3092pip\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306b\u3001pywinpty\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u90e8\u5206\u3067\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u305f\u3081\u3001\u5bfe\u51e6\u6cd5\u306b\u3064\u3044\u3066\u30e1\u30e2\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%99%BA%E7%94%9F%E3%81%97%E3%81%9F%E3%82%A8%E3%83%A9%E3%83%BC\"><\/span>\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Anaconda\u306a\u3069\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306fjupyter notebook\u304c\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3042\u307e\u308a\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4eca\u56de\u306f\u7d14\u7c8b\u306aPython\u74b0\u5883(3.8,6)\u306bJupyter\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>pip install jupyterlab\u3067Jupyterlab\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u3053\u308d\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\">Collecting pywinpty>=1.1.0; os_name == &#8220;nt&#8221; (from terminado>=0.8.3->jupyter-server~=1.4->jupyterlab)<br>Downloading https:\/\/files.pythonhosted.org\/packages\/c3\/61\/bda90dba80bc6cb905acebd0bf0710777ab04feb29d0f438202da0e82d72\/pywinpty-2.0.3.tar.gz<br>Installing build dependencies \u2026 done<br>Complete output from command python setup.py egg_info:<br>Traceback (most recent call last):<br>File &#8220;&#8221;, line 1, in<br>File &#8220;C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python36\\lib\\tokenize.py&#8221;, line 452, in open<br>buffer = _builtin_open(filename, &#8216;rb&#8217;)<br>FileNotFoundError: [Errno 2] No such file or directory: &#8216;C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-thh03r3w\\pywinpty\\setup.py&#8217;<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>Command &#8220;python setup.py egg_info&#8221; failed with error code 1 in C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-thh03r3w\\pywinpty\\<\/p>\n\n\n\n<p>\u3069\u3046\u3084\u3089pywinpty\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u6a21\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AF%BE%E5%87%A6%E6%B3%95\"><\/span>\u5bfe\u51e6\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u3066\u307f\u308b\u3068\u3001pywinpty\u306e1.1.0\u3092\u53d6\u308a\u306b\u884c\u3063\u3066\u3044\u308b\u306e\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001pywinpty\u306e2.0.3\u3092\u63a2\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3057\u305f\u3002\u53d6\u5f97\u5148\u306fhttps:\/\/files.pythonhosted.org\u3067\u3059\u3002\u3053\u306e\u3042\u305f\u308a\u304c\u602a\u3057\u3044\u3068\u611f\u3058\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\">Collecting <strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color has-black-color\">pywinpty>=1.1.0<\/mark><\/strong>; os_name == &#8220;nt&#8221; (from terminado>=0.8.3->jupyter-server~=1.4->jupyterlab)<br>Downloading https:\/\/files.pythonhosted.org\/packages\/c3\/61\/bda90dba80bc6cb905acebd0bf0710777ab04feb29d0f438202da0e82d72\/<strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">pywinpty-2.0.3.tar.gz<\/mark><\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5bfe\u51e6\u65b9\u91dd\u3068\u3057\u3066\u624b\u52d5\u3067pywinpty\u306e\u30d0\u30fc\u30b8\u30e7\u30f31.1.0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/pypi.org\">PyPI<\/a>\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3001pywinpty\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.0.5\u304c\u691c\u7d22\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"356\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13-700x356.jpg\" alt=\"\" class=\"wp-image-4857\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13-700x356.jpg 700w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13-300x153.jpg 300w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13-768x391.jpg 768w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13-1536x782.jpg 1536w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2022\/04\/image-13.jpg 1839w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p>\u4eca\u56de\u306fpip\u6642\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u4e0a\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>pip install pywinpty==1.1.0<\/code><\/pre><\/div>\n\n\n\n<p>\u305d\u306e\u5f8c\u3001\u518d\u5ea6pip install jupyterlab\u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u5148\u307b\u3069\u306e\u30a8\u30e9\u30fc\u306f\u51fa\u305a\u306b\u5148\u306b\u9032\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\">Requirement already satisfied: pywinpty>=1.1.0; os_name == &#8220;nt&#8221; in c:\\users\\User\\appdata\\local\\programs\\python\\python36.venv\\lib\\site-packages (from terminado>=0.8.3->jupyter-server~=1.4->jupyterlab) (1.1.0)ty\\<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Python\u306e3.6.8\u74b0\u5883\u306bjupyterlab\u3092pip\u3067\u30a4&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/obenkyolab.com\/?p=4856","footnotes":""},"categories":[7],"tags":[],"class_list":["post-4856","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","ja"],"_links":{"self":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/4856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4856"}],"version-history":[{"count":3,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/4856\/revisions"}],"predecessor-version":[{"id":4860,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/4856\/revisions\/4860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/media\/1218"}],"wp:attachment":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}