{"id":2836,"date":"2023-02-05T08:36:27","date_gmt":"2023-02-04T23:36:27","guid":{"rendered":"https:\/\/okamoto3.com\/?p=2836"},"modified":"2023-03-01T11:17:43","modified_gmt":"2023-03-01T02:17:43","slug":"install-motioneye-python3","status":"publish","type":"post","link":"https:\/\/okamoto3.com\/index.php\/2023\/02\/05\/install-motioneye-python3\/2836\/","title":{"rendered":"Install MotionEye(python 3) Raspberry Pi OS Lite (32-bit)Debian Bullseys"},"content":{"rendered":"<p>python3\u7cfb\u306eMotionEye\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3084\u308a\u65b9\u306b<\/p><h2 class=\"wp-block-heading\">Dropbox\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u8ffd\u8a18\u3057\u305f\u3002<\/h2><p>\u5143\u30cd\u30bf\uff08\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff09<\/p><p><a href=\"https:\/\/github.com\/motioneye-project\/motioneye\/tree\/dev#installation\">https:\/\/github.com\/motioneye-project\/motioneye\/tree\/dev#installation<\/a><\/p><h2 class=\"wp-block-heading\">\u5165\u308c\u305f\u3084\u3064<\/h2><ul class=\"wp-block-list\"><li>Raspberry Pi 3 Model A Plus Rev 1.0<\/li>\n\n<li>Debian Bullseys<\/li><\/ul><h2 class=\"wp-block-heading\">1.Python 3.7 \u4ee5\u964d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u69cb\u7bc9\u3059\u308b<\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>sudo apt update<\/li>\n\n<li>sudo apt &#8211;no-install-recommends install ca-certificates curl python3 python3-distutils<\/li><\/ul><h2 class=\"wp-block-heading\">2.Python \u30d1\u30c3\u30b1\u30fc\u30b8 \u30de\u30cd\u30fc\u30b8\u30e3\u30fcpip\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>curl -sSfO &#8216;https:\/\/bootstrap.pypa.io\/get-pip.py&#8217;<\/li>\n\n<li>sudo python3 get-pip.py<\/li>\n\n<li>rm get-pip.py<\/li><\/ul><h2 class=\"wp-block-heading\">3.piwheels.org\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306e\u3082\u306e\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u69cb\u6210<\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>printf &#8216;%b&#8217; &#8216;[global]\\nextra-index-url=https:\/\/www.piwheels.org\/simple\/\\n&#8217; | sudo tee \/etc\/pip.conf > \/dev\/null<\/li><\/ul><h2 class=\"wp-block-heading\">4.motioneye\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\uff06\u8d77\u52d5<\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>sudo python3 -m pip install &#8216;https:\/\/github.com\/motioneye-project\/motioneye\/archive\/dev.tar.gz&#8217;<\/li>\n\n<li>sudo motioneye_init<\/li><\/ul><h2 class=\"wp-block-heading\"><mark style=\"background-color:rgba(0,0,0,0);color:#cf2e2e\" class=\"has-inline-color has-vivid-red-color\">5.\u52d5\u4f5c\u78ba\u8a8d<\/mark><\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>sudo systemctl status motioneye<\/li>\n\n<li>http:\/\/Raspberry pi IP\u30a2\u30c9\u30ec\u30b9:8765\/<\/li><\/ul><h2 class=\"wp-block-heading\">6.\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h2><ul class=\"has-white-color has-black-background-color has-text-color has-background wp-block-list\"><li>sudo systemctl stop motioneye<\/li>\n\n<li>sudo python3 -m pip install &#8211;upgrade &#8211;force-reinstall &#8211;no-deps &#8216;https:\/\/github.com\/motioneye-project\/motioneye\/archive\/dev.tar.gz&#8217;<\/li>\n\n<li>sudo systemctl start motioneye<\/li><\/ul><h2 class=\"wp-block-heading has-vivid-red-color has-text-color\">7.raspberry pi camera v2\u306a\u3069\u53e4\u3044\u3084\u3064\u306fmotion\u306e\u5165\u308c\u76f4\u3057\u304c\u5fc5\u8981<\/h2><ul class=\"has-pale-pink-color has-black-background-color has-text-color has-background wp-block-list\"><li>wget https:\/\/github.com\/Motion-Project\/motion\/releases\/download\/release-4.5.1\/bullseye_motion_4.5.1-1_armhf.deb <\/li>\n\n<li>sudo dpkg -r motion <\/li>\n\n<li>sudo dpkg -i bullseye_motion_4.5.1-1_armhf.deb <\/li>\n\n<li>sudo reboot<\/li><\/ul><p>motion\u52d5\u4f5c\u78ba\u8a8d<\/p><p class=\"has-white-color has-black-background-color has-text-color has-background\"> ps aux | grep motion <\/p><h2 class=\"wp-block-heading has-vivid-red-color has-text-color\">8.Dropbox\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u3067\u304d\u3093\uff01\u554f\u984c\u89e3\u6c7a<\/h2><figure class=\"wp-block-embed is-type-wp-embed is-provider-sgg-039-s wp-block-embed-sgg-039-s\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"yS9tILarPU\"><a href=\"https:\/\/okamoto3.com\/index.php\/2023\/02\/03\/motioneye-dropbox-up-error\/2764\/\">MotionEye, MotionEye.eo\u3000Dropbox Invalid client_id\u3000\u76f4\u3057\u65b9<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;MotionEye, MotionEye.eo\u3000Dropbox Invalid client_id\u3000\u76f4\u3057\u65b9&#8221; &#8212; sGG&#039;s\" src=\"https:\/\/okamoto3.com\/index.php\/2023\/02\/03\/motioneye-dropbox-up-error\/2764\/embed\/#?secret=7bU34abKpl#?secret=yS9tILarPU\" data-secret=\"yS9tILarPU\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure><figure class=\"wp-block-embed is-type-wp-embed is-provider-sgg-039-s wp-block-embed-sgg-039-s\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"vB2kHBnnTE\"><a href=\"https:\/\/okamoto3.com\/index.php\/2023\/02\/03\/motioneye-post-data\/2774\/\">MotionEye, MotionEye .eo post data cannot be of type str!\u3000\u76f4\u3057\u65b9<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;MotionEye, MotionEye .eo post data cannot be of type str!\u3000\u76f4\u3057\u65b9&#8221; &#8212; sGG&#039;s\" src=\"https:\/\/okamoto3.com\/index.php\/2023\/02\/03\/motioneye-post-data\/2774\/embed\/#?secret=5ygNfq032G#?secret=vB2kHBnnTE\" data-secret=\"vB2kHBnnTE\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure><p class=\"has-text-align-left\">\u4ee5\u4e0a\u3001\u53c2\u8003\u307e\u3067<\/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>python3\u7cfb\u306eMotionEye\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3084\u308a\u65b9\u306b Dropbox\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u8ffd\u8a18\u3057\u305f\u3002 \u5143\u30cd\u30bf\uff08\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff09 https:\/\/github.com\/motioneye-project\/&hellip; <a class=\"more-link\" href=\"https:\/\/okamoto3.com\/index.php\/2023\/02\/05\/install-motioneye-python3\/2836\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Install MotionEye(python 3) Raspberry Pi OS Lite (32-bit)Debian Bullseys<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2835,"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":[224,23,213],"tags":[190],"class_list":["post-2836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-motioneye","category-raspberry-pi","category-all-articles","tag-motioneye","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2023\/02\/IMG_20230205_075428.jpg?fit=334%2C333&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/2836","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=2836"}],"version-history":[{"count":5,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/2836\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/2836\/revisions\/2843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media\/2835"}],"wp:attachment":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media?parent=2836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/categories?post=2836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/tags?post=2836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}