OpenVINO installation on Raspbian - usbboot.rules file issue












0















I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here:
https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI



First, I did have an issue with running this command, #4 in the Install the Package section:



sed -i "s|<INSTALLDIR>|$(pwd)/inference_engine_vpu_arm|" inference_engine_vpu_arm/bin/setupvars.sh


It would tell me there was a syntax error after I went to the next step and so I edited this file (setupvars.sh) manually with the directory - is that accurate? It seemed to work ok:



INSTALLDIR=~/Downloads


However, the real issue I'm running into now is at step 2 in the Add USB Rules section:



sh inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh


Gives me this error:



Update udev rules so that the toolkit can communicate with your neural compute stick
File '97-myriad-usbboot.rules' is missing. Please check that you installed 'Inference Engine Runtime for Intel® Movidius™ VPU'.
inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh: 30: exit: Illegal number: -1


I see there is something similar in step 3 of the Get Started guide for Linux, though this doesn't seem to work for me either (I did change the name of the created file to match the error message, 97-myraid-usbboot.rules):
https://software.intel.com/en-us/neural-compute-stick/get-started



I've also tried to do this and run _install_all_dependencies.sh but get "command not found" errors for each action it tries to take.



I have also asked this question in the Intel Forum here (it is waiting approval from a moderator to be posted so not up at the time I'm posting here):
https://software.intel.com/en-us/forums/computer-vision



Update
Ok, well it was something to do with the path. I opened the file and replaced the line with the absolute path which allowed me to proceed. I'm assuming now this path issue (that I mentioned first here) is going to cause me more problems, did I include the path wrong?



Now I'm getting new errors when trying to run the Sample that comes with this package.
Should I start a new question or add it here?










share|improve this question





























    0















    I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here:
    https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI



    First, I did have an issue with running this command, #4 in the Install the Package section:



    sed -i "s|<INSTALLDIR>|$(pwd)/inference_engine_vpu_arm|" inference_engine_vpu_arm/bin/setupvars.sh


    It would tell me there was a syntax error after I went to the next step and so I edited this file (setupvars.sh) manually with the directory - is that accurate? It seemed to work ok:



    INSTALLDIR=~/Downloads


    However, the real issue I'm running into now is at step 2 in the Add USB Rules section:



    sh inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh


    Gives me this error:



    Update udev rules so that the toolkit can communicate with your neural compute stick
    File '97-myriad-usbboot.rules' is missing. Please check that you installed 'Inference Engine Runtime for Intel® Movidius™ VPU'.
    inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh: 30: exit: Illegal number: -1


    I see there is something similar in step 3 of the Get Started guide for Linux, though this doesn't seem to work for me either (I did change the name of the created file to match the error message, 97-myraid-usbboot.rules):
    https://software.intel.com/en-us/neural-compute-stick/get-started



    I've also tried to do this and run _install_all_dependencies.sh but get "command not found" errors for each action it tries to take.



    I have also asked this question in the Intel Forum here (it is waiting approval from a moderator to be posted so not up at the time I'm posting here):
    https://software.intel.com/en-us/forums/computer-vision



    Update
    Ok, well it was something to do with the path. I opened the file and replaced the line with the absolute path which allowed me to proceed. I'm assuming now this path issue (that I mentioned first here) is going to cause me more problems, did I include the path wrong?



    Now I'm getting new errors when trying to run the Sample that comes with this package.
    Should I start a new question or add it here?










    share|improve this question



























      0












      0








      0








      I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here:
      https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI



      First, I did have an issue with running this command, #4 in the Install the Package section:



      sed -i "s|<INSTALLDIR>|$(pwd)/inference_engine_vpu_arm|" inference_engine_vpu_arm/bin/setupvars.sh


      It would tell me there was a syntax error after I went to the next step and so I edited this file (setupvars.sh) manually with the directory - is that accurate? It seemed to work ok:



      INSTALLDIR=~/Downloads


      However, the real issue I'm running into now is at step 2 in the Add USB Rules section:



      sh inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh


      Gives me this error:



      Update udev rules so that the toolkit can communicate with your neural compute stick
      File '97-myriad-usbboot.rules' is missing. Please check that you installed 'Inference Engine Runtime for Intel® Movidius™ VPU'.
      inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh: 30: exit: Illegal number: -1


      I see there is something similar in step 3 of the Get Started guide for Linux, though this doesn't seem to work for me either (I did change the name of the created file to match the error message, 97-myraid-usbboot.rules):
      https://software.intel.com/en-us/neural-compute-stick/get-started



      I've also tried to do this and run _install_all_dependencies.sh but get "command not found" errors for each action it tries to take.



      I have also asked this question in the Intel Forum here (it is waiting approval from a moderator to be posted so not up at the time I'm posting here):
      https://software.intel.com/en-us/forums/computer-vision



      Update
      Ok, well it was something to do with the path. I opened the file and replaced the line with the absolute path which allowed me to proceed. I'm assuming now this path issue (that I mentioned first here) is going to cause me more problems, did I include the path wrong?



      Now I'm getting new errors when trying to run the Sample that comes with this package.
      Should I start a new question or add it here?










      share|improve this question
















      I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here:
      https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI



      First, I did have an issue with running this command, #4 in the Install the Package section:



      sed -i "s|<INSTALLDIR>|$(pwd)/inference_engine_vpu_arm|" inference_engine_vpu_arm/bin/setupvars.sh


      It would tell me there was a syntax error after I went to the next step and so I edited this file (setupvars.sh) manually with the directory - is that accurate? It seemed to work ok:



      INSTALLDIR=~/Downloads


      However, the real issue I'm running into now is at step 2 in the Add USB Rules section:



      sh inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh


      Gives me this error:



      Update udev rules so that the toolkit can communicate with your neural compute stick
      File '97-myriad-usbboot.rules' is missing. Please check that you installed 'Inference Engine Runtime for Intel® Movidius™ VPU'.
      inference_engine_vpu_arm/install_dependencies/install_NCS_udev_rules.sh: 30: exit: Illegal number: -1


      I see there is something similar in step 3 of the Get Started guide for Linux, though this doesn't seem to work for me either (I did change the name of the created file to match the error message, 97-myraid-usbboot.rules):
      https://software.intel.com/en-us/neural-compute-stick/get-started



      I've also tried to do this and run _install_all_dependencies.sh but get "command not found" errors for each action it tries to take.



      I have also asked this question in the Intel Forum here (it is waiting approval from a moderator to be posted so not up at the time I'm posting here):
      https://software.intel.com/en-us/forums/computer-vision



      Update
      Ok, well it was something to do with the path. I opened the file and replaced the line with the absolute path which allowed me to proceed. I'm assuming now this path issue (that I mentioned first here) is going to cause me more problems, did I include the path wrong?



      Now I'm getting new errors when trying to run the Sample that comes with this package.
      Should I start a new question or add it here?







      installation raspbian opencv






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 30 '18 at 0:13







      T Linkin

















      asked Dec 29 '18 at 23:42









      T LinkinT Linkin

      32




      32






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I came across the same problem today while trying to get OpenVino installed on my Raspberry Pi 3. For some reason, the instructions on the website fail to mention that the install directory(which is the part that you have to edit manually in the setupvars.sh) should be the same folder as the files(ie. /home/pi/Downloads/inference_engine_vpu_arm/) or else the paths set in all the other scripts are wrong. Once this is set to the folder, all the rest of the scripts run perfectly.



          Hope this helps!






          share|improve this answer
























          • That did help, thank you so much! On my way with the sample now :)

            – T Linkin
            Jan 3 at 1:10











          • Glad I could be of help.

            – B. Liu
            Jan 3 at 16:41











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388854%2fopenvino-installation-on-raspbian-usbboot-rules-file-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I came across the same problem today while trying to get OpenVino installed on my Raspberry Pi 3. For some reason, the instructions on the website fail to mention that the install directory(which is the part that you have to edit manually in the setupvars.sh) should be the same folder as the files(ie. /home/pi/Downloads/inference_engine_vpu_arm/) or else the paths set in all the other scripts are wrong. Once this is set to the folder, all the rest of the scripts run perfectly.



          Hope this helps!






          share|improve this answer
























          • That did help, thank you so much! On my way with the sample now :)

            – T Linkin
            Jan 3 at 1:10











          • Glad I could be of help.

            – B. Liu
            Jan 3 at 16:41
















          0














          I came across the same problem today while trying to get OpenVino installed on my Raspberry Pi 3. For some reason, the instructions on the website fail to mention that the install directory(which is the part that you have to edit manually in the setupvars.sh) should be the same folder as the files(ie. /home/pi/Downloads/inference_engine_vpu_arm/) or else the paths set in all the other scripts are wrong. Once this is set to the folder, all the rest of the scripts run perfectly.



          Hope this helps!






          share|improve this answer
























          • That did help, thank you so much! On my way with the sample now :)

            – T Linkin
            Jan 3 at 1:10











          • Glad I could be of help.

            – B. Liu
            Jan 3 at 16:41














          0












          0








          0







          I came across the same problem today while trying to get OpenVino installed on my Raspberry Pi 3. For some reason, the instructions on the website fail to mention that the install directory(which is the part that you have to edit manually in the setupvars.sh) should be the same folder as the files(ie. /home/pi/Downloads/inference_engine_vpu_arm/) or else the paths set in all the other scripts are wrong. Once this is set to the folder, all the rest of the scripts run perfectly.



          Hope this helps!






          share|improve this answer













          I came across the same problem today while trying to get OpenVino installed on my Raspberry Pi 3. For some reason, the instructions on the website fail to mention that the install directory(which is the part that you have to edit manually in the setupvars.sh) should be the same folder as the files(ie. /home/pi/Downloads/inference_engine_vpu_arm/) or else the paths set in all the other scripts are wrong. Once this is set to the folder, all the rest of the scripts run perfectly.



          Hope this helps!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 31 '18 at 0:20









          B. LiuB. Liu

          16




          16













          • That did help, thank you so much! On my way with the sample now :)

            – T Linkin
            Jan 3 at 1:10











          • Glad I could be of help.

            – B. Liu
            Jan 3 at 16:41



















          • That did help, thank you so much! On my way with the sample now :)

            – T Linkin
            Jan 3 at 1:10











          • Glad I could be of help.

            – B. Liu
            Jan 3 at 16:41

















          That did help, thank you so much! On my way with the sample now :)

          – T Linkin
          Jan 3 at 1:10





          That did help, thank you so much! On my way with the sample now :)

          – T Linkin
          Jan 3 at 1:10













          Glad I could be of help.

          – B. Liu
          Jan 3 at 16:41





          Glad I could be of help.

          – B. Liu
          Jan 3 at 16:41


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388854%2fopenvino-installation-on-raspbian-usbboot-rules-file-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa