{"id":3660,"date":"2024-10-03T19:27:09","date_gmt":"2024-10-03T10:27:09","guid":{"rendered":"https:\/\/okamoto3.com\/?p=3660"},"modified":"2024-10-08T20:35:25","modified_gmt":"2024-10-08T11:35:25","slug":"pip-install-dlib","status":"publish","type":"post","link":"https:\/\/okamoto3.com\/index.php\/2024\/10\/03\/pip-install-dlib\/3660\/","title":{"rendered":"pip install dlib\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u7b56"},"content":{"rendered":"<p>\u3059\u3050\u7d42\u308f\u308b\u3068\u601d\u3044\u304d\u3084\u3001\u610f\u5916\u3068\u624b\u3053\u305a\u3063\u305f\u306e\u3067\u5bfe\u5fdc\u7b56\u3092\u3055\u3089\u3059\u3002<\/p><h2 class=\"wp-block-heading\">1.\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2><p><a href=\"https:\/\/github.com\/davisking\/dlib\/issues\/2943\">[Bug]: Cannot build wheel v19.24.4 \u00b7 Issue #2943 \u00b7 davisking\/dlib \u00b7 GitHub<\/a><\/p><p>\u3053\u3061\u3089\u306e\u60c5\u5831\u3092\u3082\u3068\u306b\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u884c\u3046\u3002<\/p><p class=\"has-text-align-left\">pip install &#8211;no-cache-dir cmake==<strong><em>3.25.2<\/em><\/strong><\/p><p>pip install &#8211;no-cache-dir dlib==<strong><em>19.24.2<\/em><\/strong><\/p><p>\u308f\u3057\u306f\u3001\u3053\u308c\u3067\u306f\u3001\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u592a\u5b57\u30a4\u30bf\u30ea\u30c3\u30af\u306e\u90e8\u5206\u3092\u9055\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3057\u3066\u307f\u308b\u306e\u3082\u52b9\u679c\u304c\u3042\u308b\u304b\u3082\uff1f\u308f\u3057\u306e\u74b0\u5883\u306f\u3001Windows11\u3001visual studio code\u304b\u3089\u306epython3\u3058\u3083\u3002<\/p><h2 class=\"wp-block-heading\">2.wheel\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2><p><a href=\"https:\/\/github.com\/z-mahmud22\/Dlib_Windows_Python3.x\">https:\/\/github.com\/z-mahmud22\/Dlib_Windows_Python3.x<\/a><\/p><p>\u2191\u3088\u308a\u3001\u81ea\u5206\u306ePython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3042\u3063\u305f\u3082\u306e\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p><p>(python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u65b9\u6cd5:python -version)<\/p><p>visual studio code\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u3092\u30d5\u30eb\u30d1\u30b9\u3067\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p><p>pip install &#8220;C:\\Users\\<strong><em>\u30e6\u30fc\u30b6<\/em><\/strong>\\Downloads\\dlib-19.24.1-cp311-cp311-win_amd64.whl&#8221;<\/p><h2 class=\"wp-block-heading\">3.cl.exe\u306e\u30d1\u30b9\u3092\u901a\u3059<\/h2><ul class=\"wp-block-list\"><li>\u300c\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u300d\u3067\u300c\u74b0\u5883\u5909\u6570\u300d\u3092\u691c\u7d22<\/li>\n\n<li>\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u5909\u6570\u306e\u7de8\u96c6\u300d\u3092\u9078\u629e<\/li>\n\n<li>\u300c\u74b0\u5883\u5909\u6570\u300d\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u300c\u30b7\u30b9\u30c6\u30e0\u74b0\u5883\u5909\u6570\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u300cPath\u300d\u3092\u9078\u629e<\/li>\n\n<li>\u300c\u7de8\u96c6\u300d\u30dc\u30bf\u30f3\u304b\u3089\u300c\u65b0\u898f\u300d\u30dc\u30bf\u30f3<\/li>\n\n<li><code>cl.exe<\/code>\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8ffd\u52a0<\/li>\n\n<li>\u5909\u66f4\u3092\u4fdd\u5b58<\/li>\n\n<li>PC\u3092\u518d\u8d77\u52d5<\/li><\/ul><p>Windows\u6a5f\u3067\u3088\u304f\u3042\u308b\u30d1\u30b9<\/p><p>C:\\Program Files (x86)\\Microsoft Visual Studio\\20XX\\BuildTools\\VC\\Tools\\MSVC\\&lt;\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7&gt;\\bin\\Hostx64\\x64<\/p><ul class=\"wp-block-list\"><li><\/li><\/ul><p class=\"has-text-align-left\">\u4ee5\u4e0a<\/p><hr class=\"wp-block-separator has-css-opacity\"\/><div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-thumbnail\"><a href=\"https:\/\/youtube.com\/user\/hishigeki3\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=150%2C150&#038;ssl=1\" alt=\"\" class=\"wp-image-658\" srcset=\"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=100%2C100&amp;ssl=1 100w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><figcaption class=\"wp-element-caption\">\u3088\u308d\u3057\u3051\u308c\u3070\u30c1\u30e3\u30f3\u30cd\u30eb\u767b\u9332\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\uff01<\/figcaption><\/figure><\/div><hr class=\"wp-block-separator has-css-opacity\"\/>","protected":false},"excerpt":{"rendered":"<p>\u3059\u3050\u7d42\u308f\u308b\u3068\u601d\u3044\u304d\u3084\u3001\u610f\u5916\u3068\u624b\u3053\u305a\u3063\u305f\u306e\u3067\u5bfe\u5fdc\u7b56\u3092\u3055\u3089\u3059\u3002 1.\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [Bug]: Cannot build wheel v19.24.4 \u00b7 Issue #2943 \u00b7 davisking\/dl&hellip; <a class=\"more-link\" href=\"https:\/\/okamoto3.com\/index.php\/2024\/10\/03\/pip-install-dlib\/3660\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">pip install dlib\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u7b56<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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","enabled":false},"version":2}},"categories":[291,234,290,289,213],"tags":[],"class_list":["post-3660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-sim","category-visual-studio-code","category-windows","category-all-articles","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2024\/09\/Screenshot_20240927-203347.png?fit=1080%2C2400&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/comments?post=3660"}],"version-history":[{"count":9,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3660\/revisions"}],"predecessor-version":[{"id":3672,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3660\/revisions\/3672"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media\/3654"}],"wp:attachment":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media?parent=3660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/categories?post=3660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/tags?post=3660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}