frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Installation error on SDK 1.09.00 fails to find/install Tensorflow

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

Comments

  • 5 Comments sorted by Votes Date Added
  • @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

  • edited October 2017 Vote Up0Vote Down

    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.

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

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

This discussion has been closed.