{"id":2334,"date":"2018-12-19T14:21:09","date_gmt":"2018-12-19T05:21:09","guid":{"rendered":"http:\/\/research.itplants.com\/?p=2334"},"modified":"2018-12-19T19:00:56","modified_gmt":"2018-12-19T10:00:56","slug":"pip%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/research.itplants.com\/?p=2334","title":{"rendered":"pip\u306e\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5"},"content":{"rendered":"<p>Raspberry pi Stretch\u306epip3\u3067tensorflow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002\u3044\u308d\u3044\u308d\u3068\u89e3\u6c7a\u7b56\u3092\u8a66\u3057\u305f\u7d50\u679c\u3001\u89e3\u6c7a\u65b9\u6cd5\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u306e\u72b6\u614b<\/p>\n<p><b>$<\/b> pip3 install tensorflow<\/p>\n<p>pip is configured with locations that require TLS\/SSL, however the ssl module in Python is not available.<\/p>\n<p>Collecting tensorflow<\/p>\n<p><span class=\"Apple-converted-space\">\u00a0 <\/span>Could not fetch URL https:\/\/pypi.python.org\/simple\/tensorflow\/: There was a problem confirming the ssl certificate: Can&#8217;t connect to HTTPS URL because the SSL module is not available. &#8211; skipping<\/p>\n<p><span class=\"Apple-converted-space\">\u00a0 <\/span>Could not fetch URL https:\/\/www.piwheels.org\/simple\/tensorflow\/: There was a problem confirming the ssl certificate: Can&#8217;t connect to HTTPS URL because the SSL module is not available. &#8211; skipping<\/p>\n<p><span class=\"Apple-converted-space\">\u00a0 <\/span>Could not find a version that satisfies the requirement tensorflow (from versions: )<\/p>\n<p>No matching distribution found for tensorflow<\/p>\n<p>&nbsp;<\/p>\n<p>\u89e3\u6c7a\u65b9\u6cd5<\/p>\n<p>$ mkdir ~\/.pip<\/p>\n<p>$ vi ~\/.pip\/pip.conf<\/p>\n<p>[global]<\/p>\n<p>trusted-host = pypi.python.org<\/p>\n<p><span class=\"Apple-converted-space\">\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span>pypi.org<\/p>\n<p><span class=\"Apple-converted-space\">\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><a href=\"http:\/\/files.pythonhosted.org\">files.pythonhosted.org<\/a><\/p>\n<p>\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u4f55\u4e8b\u3082\u306a\u304b\u3063\u305f\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3002<\/p>\n<p><a href=\"https:\/\/qiita.com\/agajo\/items\/73d6f14855da703972e0\">\u53c2\u8003<\/a><\/p>\n<p>OpenCV 3.4.4\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3002\u30bd\u30fc\u30b9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3088\u308a\u3082\u697d\u3002<\/p>\n<p>$ sudo apt-get install libopencv-dev python-opencv python-picamera ffmpeg<\/p>\n<p>$ sudo pip3 install install opencv-python<\/p>\n<p>$ \u00a0sudo pip3 install install opencv-contrib-python<\/p>\n<p>&nbsp;<\/p>\n<p>ROS\u3082\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u3082\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e0d\u6574\u5408\u3067\u3001\u3059\u3050\u52d5\u304b\u306a\u304f\u306a\u308b\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry pi Stretch\u306epip3\u3067tensorflow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002\u3044\u308d\u3044\u308d\u3068\u89e3\u6c7a\u7b56\u3092\u8a66\u3057\u305f\u7d50\u679c\u3001\u89e3\u6c7a\u65b9\u6cd5\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002 \u30a8\u30e9\u30fc\u306e\u72b6\u614b $ pip3 install&#8230;<\/p>\n<p><a class=\"more\" href=\"https:\/\/research.itplants.com\/?p=2334\"> Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2334"}],"collection":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2334"}],"version-history":[{"count":4,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2334\/revisions"}],"predecessor-version":[{"id":2338,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2334\/revisions\/2338"}],"wp:attachment":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}