Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Cannot install SDK

idata
Employee
922 Views

I have tried to install the SDK (ubuntu) but i get to an error i cannot resolveSetting up libprotobuf-dev:amd64 (2.6.1-1.3) …

 

Setting up libsnappy-dev:amd64 (1.1.3-2) …

 

Setting up protobuf-compiler (2.6.1-1.3) …

 

Setting up python3-scipy (0.17.0-1) …

 

Processing triggers for libc-bin (2.23-0ubuntu9) …

 

Reading package lists…

 

Building dependency tree…

 

Reading state information…

 

libboost-all-dev is already the newest version (1.58.0.1ubuntu1).

 

0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

 

Installing python dependencies…

 

./install-ncsdk.sh: line 282: -H: command not found

 

./install-ncsdk.sh: line 283: -H: command not found

 

Checking whether tensorflow is installed…

 

looking for tensorflow CPU version…

 

./install-ncsdk.sh: line 248: -H: command not found

 

looking for tensorflow GPU version…

 

./install-ncsdk.sh: line 248: -H: command not found

 

Couldn't find a supported tensorflow version, installing tensorflow v1.3.0

 

./install-ncsdk.sh: line 303: -H: command not found

 

Installation failed. Error on line 303

 

I am trying to run it on a joule sdk extended with 128GB SD

 

Any help is appreciated

 

Cheers

0 Kudos
8 Replies
idata
Employee
633 Views

For reference I am running UBUNTU 16.04 so it should be compatible.

0 Kudos
idata
Employee
633 Views

Same here with a fresh install of 16.04

 

Trying to use the quickstart (https://developer.movidius.com/start). Sadly, "make install" fails /very/ quickly with

 

 

cp: cannot create regular file './ncsdk.conf': Permission denied

 

Movidius Neural Compute Toolkit Setup.

 

Checking OS and version…

 

Installing on Ubuntu 16.04

 

mkdir: cannot create directory ‘/opt/movidius/NCSDK/setup-logs’: Permission denied

 

Installation failed. Error on line 136

 

Trying "sudo make install" gets /much/ further along, before the /next/ error is found:

 

 

Installing python dependencies…

 

./install-ncsdk.sh: line 282: -H: command not found

 

./install-ncsdk.sh: line 283: -H: command not found

 

Checking whether tensorflow is installed…

 

looking for tensorflow CPU version…

 

./install-ncsdk.sh: line 248: -H: command not found

 

looking for tensorflow GPU version…

 

./install-ncsdk.sh: line 248: -H: command not found

 

Couldn't find a supported tensorflow version, installing tensorflow v1.3.0

 

./install-ncsdk.sh: line 303: -H: command not found

 

Installation failed. Error on line 303

 

Once I hacked your install.sh to /not/ delete "install-ncsdk.sh", one problem quickly appears around line 276:

 

if [ $SYSTEM_INSTALL == "yes" ]; then

 

PIP_PREFIX="$SUDO_PREFIX -H"

 

fi

 

This /very/ error is described in another post https://ncsforum.movidius.com/discussion/308/installation-error-on-sdk-1-09-00-fails-to-find-install-tensorflow. Oddly, the claim is made in that post that the installation should be run as a normal user, which doesn't actually work _at_ _all_.

 

Please advise.

0 Kudos
idata
Employee
633 Views

normal user install does not work also for me.. I have modified the script of installation at the part where it does the python dependencies and it works.

 

I believe is in the link given above.

 

After that it works
0 Kudos
idata
Employee
633 Views

Fixing the permission errors shown above for "./ncsdk.conf" and "/opt/movidius/NCSDK/setup-logs" as well as fixing the if statement in install-ncsdk.sh does allow the installation to proceed and complete without sudo.

 

HOWEVER, there are yet multiple other permission errors related to tee(1) in install-ncsdk.sh.

 

Summary:

 

0 Kudos
idata
Employee
633 Views

@dnl Can you please specify what HW/SW are you using? Is it a regular PC or some board like Odroid or Joule?

0 Kudos
idata
Employee
633 Views

@dnl @fpex Also will be good if you provide any logs during your installation process so we'll be able to reproduce on our side and consider better where issue comes from.

0 Kudos
idata
Employee
633 Views

I managed to install the SDK with the changes mentioned in the post above. It is just an issue of installing with sudo (without it also failed)

0 Kudos
idata
Employee
633 Views

Ran into this same problem. I could get install.sh to work using the following approach. It seems the only reason to use sudo at all in the script is to get write access to /opt. The solution is to create /opt/movidius and make it owned by the user. Then remove all the "sudo" in the install.sh script and it seems to run as ordinary user just fine.

0 Kudos
Reply