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.
6392 Discussions

Installation error on SDK 1.09.00 fails to find/install Tensorflow

idata
Employee
881 Views

I just followed the instructions for installing the latest SDK 1.09.00 and I get an error on the 'Make Install'. It appears to be having an issue with Tensorflow. Has anyone else seen this and is there a workaround?

 

Reading state information…

 

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

 

0 upgraded, 0 newly installed, 0 to remove and 0 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
0 Kudos
5 Replies
idata
Employee
625 Views

@janiamatmovidius can you confirm if you are running the installation as root? If so, we are aware of this bug and are working on a fix for the next release. As a workaround, please install through a non-root account.

 

 

iamintel
0 Kudos
idata
Employee
625 Views

Here is a fix:

 

--- install-ncsdk.sh.0 2017-10-14 07:16:47.877883822 -0400 +++ install-ncsdk.sh 2017-10-14 07:17:03.781855435 -0400 @@ -273,7 +273,7 @@ echo "Installing python dependencies..." PIP_PREFIX="" - if [ $SYSTEM_INSTALL == "yes" ]; then + if [ $SYSTEM_INSTALL == "yes" -a -n "$SUDO_PREFIX" ]; then PIP_PREFIX="$SUDO_PREFIX -H" fi

 

Run 'make install' and then stop it after it extracts the NCSDK tarball. Go into /opt/modivius/NCSDK/ and edit the install_ncsdk.sh script with the above patch. Then just execute the above script directly, i.e. ./install-ncsdk.sh.

 

This works for me.

0 Kudos
idata
Employee
625 Views

I did run the installation as root using sudo -s. I'll try it running as the normal account.

0 Kudos
idata
Employee
625 Views

I just ran it under a normal user and the installation worked. Thanks.

0 Kudos
idata
Employee
625 Views

@janiamatmovidius Glad it worked for you!

0 Kudos
Reply