{"id":1667,"date":"2024-08-27T13:37:31","date_gmt":"2024-08-27T04:37:31","guid":{"rendered":"https:\/\/rfsec.ddns.net\/db\/?p=1667"},"modified":"2025-08-03T09:31:52","modified_gmt":"2025-08-03T00:31:52","slug":"pyenv%e3%81%a7%e4%bb%ae%e6%83%b3%e7%92%b0%e5%a2%83%e3%82%92%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/rfsec.ddns.net\/db\/?p=1667","title":{"rendered":"pyenv\u3067\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">python3 -m venv myenv<br>source myenv\/bin\/activate<br>pip install opencv-python<br><br>python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u308b\uff08python 3.8\u306e\u4f8b\uff09<\/h2>\n\n\n\n<p>\uff11\uff09\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u3001python\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08PATH\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\uff09<br>\uff12\uff09py -3.8 -m venv myenv38<\/p>\n\n\n\n<p><strong>venv\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210<\/strong><\/p>\n\n\n\n<p>py -3.8 -m venv myenv38<\/p>\n\n\n\n<p><strong>\u4eee\u60f3\u74b0\u5883\u306e\u6709\u52b9\u5316<\/strong><\/p>\n\n\n\n<p>myenv38\\Scripts\\activate.bat<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">python3.8\u306e\u74b0\u5883\u3078jupyter notebook\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u4eee\u60f3\u74b0\u5883\u3067Jupyter Notebook\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u3001<strong>\u300cpuccinialin\u300d\u3068\u3044\u3046\u5b58\u5728\u3057\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8981\u6c42\u3055\u308c\u3066\u5931\u6557\u3057\u3066\u3044\u308b<\/strong>\u72b6\u614b\u3067\u3059\u3002\u3053\u308c\u306f\u8fd1\u5e74\uff082025\u5e74\u590f\u6642\u70b9\uff09Jupyter\u3084\u305d\u306e\u4f9d\u5b58\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4e00\u90e8\u30e6\u30fc\u30b6\u30fc\u3067\u5831\u544a\u3055\u308c\u3066\u3044\u308b\u3001\u65b0\u3057\u3044\u30d0\u30b0\u30fb\u4f9d\u5b58\u95a2\u4fc2\u306e\u4e0d\u6574\u5408\u3067\u3059<\/p>\n\n\n\n<p>python -m pip install pywinpty==2.0.10<\/p>\n\n\n\n<p>python -m pip install &#8220;notebook==6.5.4&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>python3 -m venv myenvsource myenv\/bin\/activatepip install opencv-python python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u308b\uff08python 3.8\u306e\u4f8b\uff09  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[],"class_list":["post-1667","post","type-post","status-publish","format-standard","hentry","category-28"],"featured_image_src":null,"author_info":{"display_name":"mars","author_link":"https:\/\/rfsec.ddns.net\/db\/?author=1"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1667"}],"version-history":[{"count":3,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1667\/revisions"}],"predecessor-version":[{"id":2152,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/1667\/revisions\/2152"}],"wp:attachment":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}