{"id":37125,"date":"2019-06-14T12:00:38","date_gmt":"2019-06-14T19:00:38","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=37125"},"modified":"2019-06-04T23:45:34","modified_gmt":"2019-06-05T06:45:34","slug":"install-iot-edge-on-the-jetson-tx2-running-jetpack-version-4-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/install-iot-edge-on-the-jetson-tx2-running-jetpack-version-4-2\/","title":{"rendered":"Install IoT Edge on the Jetson TX2 running JetPack version 4.2"},"content":{"rendered":"<header id=\"masthead\" class=\"site-header\" role=\"banner\">\n<div class=\"site-header-info\">In this post, Premier Developer consultant <a href=\"https:\/\/www.linkedin.com\/in\/mark-taylor-5043351\/\" target=\"_blank\" rel=\"noopener\">Mark Taylor<\/a> gives insight on running JetPack version 4.2 and working with IoT edge.<\/div>\n<div>\n<hr \/>\n<\/div>\n<div><\/div>\n<div class=\"site-header-info\">JetPack 4.2 includes an Ubuntu 18.04 environment and updates to CUDA, Tensorflow, and Open CV. One of the best changes is support for Python 3 in the version of Open CV provided. In JetPack 3.3 a build of Open CV was necessary to support Python 3, and this was not a trivial undertaking.<\/div>\n<div><\/div>\n<p>The following are the steps required to install IoTEdge on JetPack 4.2 (tested and known to work on the Jetson TX-2 development board). I have also included a number of tips on working with IoT Edge in this environment.<\/p>\n<\/header>\n<div id=\"main\" class=\"site-main\">\n<div id=\"primary\" class=\"content-area\">\n<article id=\"post-58\" class=\"post-58 post type-post status-publish format-standard category-uncategorized\">\n<div class=\"entry-content e-content\">\n<p>After flashing from a 16.04 machine using nvidia sdk \u2013<\/p>\n<h3>Update numpy in python 3 for CV2<\/h3>\n<p>OpenCV works with Python 3 in Jetpack 4.2 so that is good, but it requires that numpy be updated for Python 3 (at the time this was written). Follow these steps:<\/p>\n<ol>\n<li>sudo apt install python3-pip<\/li>\n<li>pip3 install -U numpy<\/li>\n<\/ol>\n<h3>Install docker by following directions<\/h3>\n<p>[ <em>Note that this assumes you are setting up a development environment.\u00a0 If you are setting up for production, install Moby by following the instructions at <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/iot-edge\/how-to-install-iot-edge-linux-arm\" rel=\"nofollow\">https:\/\/docs.microsoft.com\/en-us\/azure\/iot-edge\/how-to-install-iot-edge-linux-arm<\/a> just before the installation of IoT Edge ]<\/em><a href=\"https:\/\/docs.docker.com\/install\/linux\/docker-ce\/ubuntu\/#prerequisites\">https:\/\/docs.docker.com\/install\/linux\/docker-ce\/ubuntu\/#prerequisites<\/a><\/p>\n<\/div>\n<div><\/div>\n<p>For more of Mark&#8217;s post, you can read <a href=\"https:\/\/marksblog.azurewebsites.net\/2019\/05\/30\/install-iot-edge-on-the-jetson-tx2-running-jetpack-version-4-2\/\">here<\/a>.<\/p>\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>JetPack 4.2 includes an Ubuntu 18.04 environment and updates to CUDA, Tensorflow, and Open CV. One of the best changes is support for Python 3 in the version of Open CV provided. In JetPack 3.3 a build of Open CV was necessary to support Python 3, and this was not a trivial undertaking.<\/p>\n","protected":false},"author":582,"featured_media":37127,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[125],"tags":[29,6566],"class_list":["post-37125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot","tag-docker","tag-jetpack"],"acf":[],"blog_post_summary":"<p>JetPack 4.2 includes an Ubuntu 18.04 environment and updates to CUDA, Tensorflow, and Open CV. One of the best changes is support for Python 3 in the version of Open CV provided. In JetPack 3.3 a build of Open CV was necessary to support Python 3, and this was not a trivial undertaking.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/37125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=37125"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/37125\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37127"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=37125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=37125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=37125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}